Hi,
I have a grid which is dynamically populated. I am trying to delete a row and save but the changes aren't actually saved to the database.
My code is as follows:
bsMaintenance.RemoveCurrent()
bsMaintenance.EndEdit()
myBuilder.GetUpdateCommand()
daDataAdapter.UpdateCommand = myBuilder.GetUpdateCommand()
daDataAdapter.AcceptChangesDuringUpdate = True
daDataAdapter.Update(DSData, "TBL_CALL_TYPES")
Any help would be appreciated.
I have a grid which is dynamically populated. I am trying to delete a row and save but the changes aren't actually saved to the database.
My code is as follows:
bsMaintenance.RemoveCurrent()
bsMaintenance.EndEdit()
myBuilder.GetUpdateCommand()
daDataAdapter.UpdateCommand = myBuilder.GetUpdateCommand()
daDataAdapter.AcceptChangesDuringUpdate = True
daDataAdapter.Update(DSData, "TBL_CALL_TYPES")
Any help would be appreciated.