I just want to be able to connect to a remot开发者_开发知识库e MySQL database on my ASP.net c# website running on localhost.
It's so I can grab some records, and insert them into my SQL server database. Do I need to download any drivers? And how do I connect and fetch records?
Thanks
Get the ADO.Net driver for MySQL. This will allow you to connect to a MySQL database and use all of the .Net ADO standard stuff to get your data and put it elsewhere.
The added benefit about using the ADO.Net driver is that you can easily use the same data objects (DataTable, DataRow, etc.) when inserting the data into SQL Server.
精彩评论