Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Class1
- Public conexion_mysql As MySqlConnection
- Sub Conexion_bd()
- Try
- conexion_mysql = New MySqlConnection("server=localhost; user=root; password=; database=center_viwer/usuaris")
- conexion_mysql.Open()
- Catch ex As Exception
- conexion_mysql.Dispose()
- End Try
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement