如何使用C#应用程序访问mysql db? [英] how can access to mysql db with a C# application?

查看:72
本文介绍了如何使用C#应用程序访问mysql db?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


因为语言不好意思,
我有一个网站(php和mysql),我想用c#开发一个应用程序,该应用程序可以访问我的网站的数据库,并且可以进行SELECT,INSERT等操作.
我知道这是不合理的,但我想知道这是可能的,
我该怎么办?

最好的祝福与梦想


excuse me because of the language,
i have a website(php & mysql) , i want to develop an application in c# that can have access to the database of my website and can SELECT, INSERT and etc.
i know that it''s irrational, but i want to know that it''s possible,
how can i do this?

Best Wishes & Dreams

推荐答案

看看这篇文章:
使用C#和.NET连接到MySQL数据库 [ ^ ]

使用CP搜索真的那么难吗?我只说了一个字就找到了这篇文章.
更不用说Google.


问候
Michel
Have a look at this article:
Connecting to MySQL Database using C# and .NET[^]

Is it really that hard to use the CP search? I put just one word into it and found this article.
Not to mention Google.


regards
Michel


好吧,简短的答案是:您可以使用ADO.NET.
请参阅:
http://en.wikipedia.org/wiki/ADO.NET [ http://msdn.microsoft.com/en-us/library/aa286484.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/e80y5yhx.aspx [ ^ ].

对于初学者,我会推荐此CodeProject文章:
为初学者使用ADO.NET [
Well, short answer is: you can use ADO.NET.
Please see:
http://en.wikipedia.org/wiki/ADO.NET[^],
http://msdn.microsoft.com/en-us/library/aa286484.aspx[^],
http://msdn.microsoft.com/en-us/library/e80y5yhx.aspx[^].

For starters, I would recommend this CodeProject article:
Using ADO.NET for beginners[^].

—SA


这篇关于如何使用C#应用程序访问mysql db?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆