I received a lot of email if I can make a tutorial on how to connect VB.NET with MySQL. So here it is. I am planning to continue this tutorial that is similar on my previous article on Database Programming Made Easy. The only difference with the previous one is that I will be using MySQL instead of MS Access and MS SQL Server.
This tutorial will teach you how to connect Visual Basic .NET 2008 to MySQL Server v5.0. I used DataGridView Control as the model of this tutorial.
In order to run this tutorial successfully you need to import two files included in the zip file. First import Creates.sql, second import Inserts.sql using Toad. For more information on the software requirements please read Visual Basic and MySQL article.
You will find in this code from my previous tutorial on DataGridView Control using MS Access and MS SQL Server very similar except for the connectivity issue.
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.