how to delete the current record datagridview using adodb in vb.net...
this is my code:
Private Sub cmdDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDelete.Click
adrCURR.Delete(ADODB.AffectEnum.adAffectCurrent)
end sub
the code is working but not the current rows is deleting, but the first record is deleting...
Please help me...
I do not know what should be..
Thanx's