Advertisement
Guest User

button

a guest
Feb 24th, 2023
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.31 KB | None | 0 0
  1. Private Sub btnSubmit_Click(sender As Object, e As EventArgs) Handles btnSubmit.Click
  2.  
  3.         Try
  4.  
  5.             create("INSERT INTO tbl_employees(EMPLOYEEID,FNAME,LNAME)VALUES('" & txtID.Text & "','" & txtFname.Text & "','" & txtLname.Text & "')")
  6.         Catch ex As Exception
  7.  
  8.  
  9.         End Try
  10.  
  11.  
  12.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement