如何通过c#桌面应用程序连接Web服务器的My Sql数据库? [英] How to connect My Sql database of my web server through my c# desktop application ?
本文介绍了如何通过c#桌面应用程序连接Web服务器的My Sql数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,先生,我正在尝试通过c#桌面应用程序连接Web服务器的MySql数据库,以便我可以访问用于选择,更新和其他查询的表.....
我需要它...(紧急)...,希望您能尽快给我答复..........
Hello sir, i am trying to connect MySql database of my web server through my c# desktop application so that i can access tables for selecting,updating and for other queries.....
I am in need of it...(urgent)..., so hope u will reply me soon..........
推荐答案
您需要使用连接字符串和可能的OLEDB建立与数据库的连接.尝试connectionstrings.com,它是获得此信息的绝佳资源.
You need to make a connection to the database using a connection string and probably OLEDB. Try connectionstrings.com, it is an excellent resource for this information.
这将为您带来很多帮助
http://bitdaddys.com/MySQL-ConnectorNet.html [
this would help you lot
http://bitdaddys.com/MySQL-ConnectorNet.html[^]
它可能对您有帮助,
使用C#和.NET连接到MySQL数据库 [ ^ ]
Connect-to的视频教程-mysql-database-use-select-insert-update-cc-sharp-visual-studio-2010.htm [连接字符串/ [ ^ ]
:)
It might help you,
Connecting to MySQL Database using C# and .NET[^]
Video Tutorial of Connect-to-mysql-database-use-select-insert-update-c-c-sharp-visual-studio-2010.htm[^]
and for future ref,
Connectionstrings/[^]
:)
这篇关于如何通过c#桌面应用程序连接Web服务器的My Sql数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文