connect a mysql database to c# project
-
I'm quite new to c#. Can smbody pls tell me how to connect a mysql database to a c# project? Thanks
You may like to have a look at this http://www.codeproject.com/cs/database/ConnectMySQL.asp[^]
- ashish
-
I'm quite new to c#. Can smbody pls tell me how to connect a mysql database to a c# project? Thanks
you need to install an ADO.NET driver for mysql, you can find one here: http://dev.mysql.com/downloads/connector/net/5.0.html[^] Once installed, new components, like MysqlDataset and MysqlDataTable, will appear in your toolbox in visual studio. Documentation on how to use them should also be included in the download, otherwise you can lookup the documentation for the ADO.NET components, like Dataset and DataTable, in the visual studio documentation, they are used the same way.