i would like some simple examples, after trailing this forum for hours and google i cant seem to find some basic examples, im now so stuck, ive managed to connect, here is the code i have completed, i know i need the sql syntax some one help a tired vb.net newb
what im trying to do intially is add the values from the textboxes on my form into the table tblMembers in the database supervid
thank you in advance
Jon
what im trying to do intially is add the values from the textboxes on my form into the table tblMembers in the database supervid
thank you in advance
Jon
VB.NET:
Private Sub btnAddCustomer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddCustomer.Click
conn = New MySqlConnection()
conn.ConnectionString = "server=localhost;" _
& "user id=root;" _
& "password=password;" _
& "database=tester"
conn.Open()
MessageBox.Show("Connected to Database!")
conn.Close()
conn.Dispose()
End Sub
Last edited: