Added by on 2014-09-16

I’m explaining in this video tutorials how to connect to a MySql database using VB.Net and how to insert data

Try
MysqlConn.Open()
Dim query As String
Query = “insert into database.edata….”
COMMAND = New MySqlCommand(Query, MysqlConn)
READER = COMMAND.ExecuteReader
MessageBox.Show(“Data saved”)
MysqlConn.close()
Catch ex As MySqlException
MessageBox.Show(ex.Message)
Finally
MysqlConn.Dispose()
End try

Comments are closed.