views:

30

answers:

2

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.

+1  A: 

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

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

Oli
A: 

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.

TLiebe
I am not using ASP. I am using MySQL On a server and a VB.NET app on the client.
Bubby4j
If you have a look at the example (see Step 10) you'll see that the ASP.Net code is written in VB.
TLiebe
Ok, I'll take a look.
Bubby4j