[英]Connecting VB.NET to a MySQL Database
I have a VB.NET application and I need it to be able to display rows from a MySQL database. 我有一个VB.NET应用程序,我需要它能够显示MySQL数据库中的行。 How would I do this? 我该怎么做?
Update: Another thing that I could do is have the app get a PHP page from the site that shows the DB, and gets the page every 10 seconds or so. 更新:我可以做的另一件事是让该应用程序从显示数据库的站点获取一个PHP页面,并每隔10秒左右获取一次页面。
http://dev.mysql.com/tech-resources/articles/dotnet/ http://dev.mysql.com/tech-resources/articles/dotnet/
That presents you with a couple of options, with connection code samples. 这为您提供了两个选项以及连接代码示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.