This is a multi-part message in MIME format.
------=_NextPart_000_009F_01C1EA07.D624EF60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I've installed ODBC .Net Data Provider and MDAC 2.7 on my web server,
but why does it always give error when I use the System.Data.ODBC
namespace?
The import part of my code is as follows:
<%@ Import Namespace=3D"System.Data" %>
<%@ Import Namespace=3D"System.Data.Odbc" %>
<%@ Assembly Name =3D "System.Data.Odbc" %>
The error is:
Parser Error Message: File or assembly name System.Data.Odbc, or one of
its dependencies, was not found.
The server:
Windows2000, SQL server 7
I've tried changing System.Data.Odbc to Microsoft.Data.Odbc (since
that's what I saw on some sites), but the result is the same. Can
someone tell me what I've been missing out?
Thanks!