Professional Documents
Culture Documents
Koding VB
Koding VB
Adodc1.Recordset.Movefirst
Adodc1.Recordset.Update
Me.DataGrid1.Refresh
End Sub
(CARI)
‘Private Sub Command2_Click()
‘Adodc1.Recordset ! Nomor=Text1.Text
‘Adodc1.Recordset.Update
‘form3.DataGrid1.Refresh
‘End Sub
Tampil
End Sub
Sub Tampil()
End Sub
Unload Me (KELUAR)
End Sub
(HAPUS)
Private Sub Command2_Click()
If MsgBox (“Yakin Data Ingin Dihapus ? “, vbquestion + vbOKCancel, “Konfirmasi”) = vbOK Then
Adodc1.Recordset.Delete
Me.DataGrid1.Refresh
End Sub