heshm

If TextBox1.Text = "" Then MsgBox("Data

Feb 14th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. If TextBox1.Text = "" Then
  2. MsgBox("Data Belum Di Isi")
  3. Exit Sub
  4. Else
  5. If MessageBox.Show("Yakin Akan Di Hapus", "", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then
  6. Dim HAPUS As String = "Delete from user where id_user='" & TextBox1.Text & "'"
  7. cmd = New OdbcCommand(HAPUS, Conn)
  8. cmd.ExecuteNonQuery()
  9. Call tampilgrid()
  10. Call bersihkan()
  11. TextBox1.Clear()
  12. End If
  13. End If
  14. RAW P
Advertisement
Add Comment
Please, Sign In to add comment