MySql.Data.MySqlClient Namespace in ASP.Net
Posted by: Srikanth Nair
Date: October 05, 2004 01:47AM

Hello,
I did see the post for this issue in VS.Net, but I am writing a simple asp.net page to see how good the connector is.

At present, everything is on my local box.

I downloaded and installed the connector (straightforward process) and opened a new page in ASP.Net Web Matrix (Language - VB.Net) with this import statement along with the standard system one's.

<%@ import Namespace="MySql.Data.MySqlClient" %>

I get this error : BC30002: Type 'MySqlConnection' is not defined

I am new to asp.net and am not really sure how to troubleshoot this issue.

I have been successful in using the ODBC provider in .Net to connect to my MySQL server and it's been working fine. I just figured that the MySQL.Net connector would have better performance and feature sets.

Any help by anyone would be greatly appreciated.

Thank you very much
Sri

Options: ReplyQuote


Subject
Written By
Posted
MySql.Data.MySqlClient Namespace in ASP.Net
October 05, 2004 01:47AM
October 06, 2004 02:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.