Guest User

Untitled

a guest
Jul 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Private Sub btnSaveAndClose_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSaveAndClose.Click
  2. Dim SQLstatement As String = "INSERT INTO Client( Firstname, Surname, Address1, Address2, Address3, PostCode, ContactnumMob, ContactnumHome) VALUES('" & txtFirstName.Text "', '" & txtSurname.Text & "', '" & txtAddress1.Text & "', '" & txtAddress2.Text & "', '" & txtAddress3.Text & "', '" & txtPostCode.Text & "', '" & txtMobileNum.Text & "', '" & txtHomeNum.Text & "')"
  3.  
  4. SaveNames(SQLstatement)
  5. End Sub
  6. End Class
Add Comment
Please, Sign In to add comment