James T
James T

Reputation: 3320

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. 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.

Upvotes: 0

Views: 925

Answers (2)

TLiebe
TLiebe

Reputation: 7996

You can use the MySQL Connector which you can get from here. The bottom part of this article describes how to install the connector and connect to the MySQL database. This link shows some examples of connection strings.

Upvotes: 1

Oli
Oli

Reputation: 239978

http://dev.mysql.com/tech-resources/articles/dotnet/

That presents you with a couple of options, with connection code samples.

Upvotes: 1

Related Questions