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="System.Data" %>
<%@ Import Namespace="System.Data.Odbc" %>
<%@ Assembly Name = "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!
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="System.Data" %>
<%@ Import Namespace="System.Data.Odbc" %>
<%@ Assembly Name = "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!