Imports MySql.Data.MySqlClient
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
Dim conexion As New MySqlConnectionStringBuilder()
conexion.Server = "localhost"
conexion.UserID = "root"
conexion.Password = ""
conexion.Database = ".net"
Dim con As New MySqlConnection(conexion.ToString())
con.Open()
MsgBox("Conexion Establecida")
Catch ex As Exception
MsgBox("No se Pudo establecer la conexion" & ex.Message)
End Try
End Sub
End Class
Add the reference, after installing and others, but keep saying it is not defined .. Help