Hi ,
I have a question. Firstly I'm using VB
I have a problem about deleting any record from access database , That's the code I'm use it for add new item and it's work but it's not work when I tried to edit any rows " it's not want to Save" but work for add new Item.
Try
Me.Validate()
Me.CustomerBindingSource.EndEdit()
Me.CustomerTableAdapter.Update(Me.KonoDataSet.Customer)
MsgBox("Update Successful")
Catch ex As Exception
MsgBox("Update Failed")
End TryAnd That's my code for Deleting any record from database But it's not work and that's a problem.
CustomerBindingSource.RemoveCurrent()
CustomerBindingSource.EndEdit()
Me.CustomerTableAdapter.Update(Me.KonoDataSet.Customer)Can anybody help me about that issue ?