Connect MySQL

RayRay
02-13-2004, 08:27 PM
How can I connect MySQL with VB.Net?
Any source code?
Thanks~

TiBaal89
02-13-2004, 09:30 PM
How can I connect MySQL with VB.Net?
Any source code?
Thanks~
Take a look at this:
http://crlab.com/mysqlnet/

I've never dealt with this personally, but know someone who spoke well of it.

TnTBass
02-14-2004, 04:46 AM
I believe this still works with .net

http://www.vbmysql.com/samplecode/daomysql.html

Optikal
02-14-2004, 10:10 AM
You would use the OleDbConnection and OleDbCommand objects. There are plenty of examples of using these objects in MSDN.

Blitzkrieg99
02-15-2004, 06:15 PM
RayRay,

To connect to a MySQL database using VB.Net, you first need to install ODBC.Net Drivers and some framework components and patches. You may wish to goto:

http://www.mysql.com/articles/dotnet/index.html

This article tells you the downloads needed. As for getting the MySQL direct from crlabs as recommended by Tibaal89, it is only a trialware with limited functions and is not a standardised way of accessing a MySQL database.

Hope that helps.

TiBaal89
02-15-2004, 09:40 PM
As for getting the MySQL direct from crlabs as recommended by Tibaal89, it is only a trialware with limited functions and is not a standardised way of accessing a MySQL database.

Yes, that seems like a much better solution. *reads article* :cool:

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum