Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd.Connection = cnn
- cmd.CommandText = "INSERT INTO Addressbook(srno) " & _
- " VALUES('" & Me.TextBox1.Text & "')"
- 'check whether add new or update
- 'add new
- 'add data to table
- cmd.ExecuteNonQuery()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement