Posts Tagged ‘VB’

October 22 2008 6 Comments

How to Connect the VB 2005 to MySQL

Here is how to connect Visual Basic.Net to the MySQL database: 1. In the project – add reference – on the tab. Net – find MySql.Data – click OK 2. In the namespace – imports mysql.data.mysqlclient 3. In the form load or in the module or whatever form type this code to connect with mysql [...]