MySQL Forums
Forum List  »  Connector/ODBC

C#+ASPX+mySQL
Posted by: mad cloud
Date: June 05, 2006 07:08AM

Hi all!

I m trying to create an aspx page with c# that will connect to a mySQL server on a different machine. What do I have to include ("using") in the aspx page to make it work? I have found many examples on how to connect but all were for normal applications, though in aspx it seems that I can not use the "using" call at the begining of the script to include any external files/classes.
In addition to that, is it possible to tell me the Provider value for MyODBC 3.51?
MySqlProv does not work and i get the following error:
System.InvalidOperationException: The 'MySQLProv' provider is not registered on the local machine. ---> System.Data.OleDb.OleDbException: No error information available

Any help would be great

Regards

George

Options: ReplyQuote


Subject
Written By
Posted
C#+ASPX+mySQL
June 05, 2006 07:08AM


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.