开发者

ASP.net connect to MySql without installing DB

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜