Visual Basic and MySQL

One of the best Database Server today besides from Oracle and Microsoft SQL Server is MySQL. MySQL is free and open source database server licensed under GNU General Public License.

Since the purpose of this article is to teach you on how to create a program using Visual Basic .NET and MySQL I will not discuss this topic in detail. Instead you will learn programming with this language and its database as quick as possible.

Required Software  

I will create a similar tutorial on Database Programming Made Easy but this time using MySQL as our database management system.

If you want to experiment it yourself you should add a reference from the MySQL Connector/NET. This can be done by clicking the Project menu then Add Reference. After this browse the file at C:\Program Files\MySQL\MySQL Connector Net 5.0.x\Binaries\.NET 2.0. Where x is the version number of MySQL Connector/NET.

From time to time I will add new tutorials on this articles. If you want to be updated on this article kindly register and subscribe to this page.

Submitted byAnonymous (not verified)on Sun, 07/11/2010 - 17:52

XML literal cannot appear here unless it is enclosed in parentheses. Do Until ds.Tables("security").Rows(RowIX).Item("username") = txtuser.Text And _ ds.Tables("security").Rows(RowIX).Item("password").ToString = txtPass.Text Me.Hide() About.Show() RowIX += 1 Loop this is the code where in that error shown the that has" Do Until " i can't the right answer, i'm just exploring the forums about this ... can you please help me solved this error ... by the way i'm using vb.net 2008 and mysql server for this ... thanks and godbless^^,
Submitted byAnonymous (not verified)on Tue, 01/04/2011 - 10:45

can u send me a sample code of enrolment system using vb.net 6.0 and using the my sql ...send that to my [email protected] i will really appreciate it...
Submitted byAnonymous (not verified)on Thu, 08/04/2011 - 15:11

when I press Save button, a message appeared : Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information.
Submitted byAnonymous (not verified)on Thu, 10/17/2013 - 13:58

hi ser, sir please help me,and give the example of running coding of enrollment system.thanks wait ko po riply nyo.

Add new comment