开发者

Embedded Mysql (libmysql.dll) and C# & Asp.Net

I'm trying to connect to a mysql database with .net framework. I've searched for an example for c# desktop app or asp.net but no result. Can anyone explain how to connect successfully to an embedded mysql da开发者_如何学Gotabase.

I've found a library here sourceforge.net/mysqldrivercs but don't want to use any extra code if necessary.


You will need to use some kind of connector to conect to MySql, just like you would if you wanted to connect to a Sql server database, only difference is that the assemblies for Sql Server have been built into the .net framework.

Take a look at the following links for example on connecting to MySql.

CodeProject Example
Example 2

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜