Posts Tagged ‘2005’
October 22 2008
5 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
1
2
3
4
5
6
Dim myString [...]