Error:Concurrency violation: the UpdateCommand affected 0 of the expected 1 records
-
Hi Iam using C#.Net 2.0 backend is MS Access.... When I want to update a record folowing exception has been appeared: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records Can anyone help me about the cause of the exception? regards Somasundaram
-
Hi Iam using C#.Net 2.0 backend is MS Access.... When I want to update a record folowing exception has been appeared: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records Can anyone help me about the cause of the exception? regards Somasundaram
To test concurrency the database access test whether any changes have happened since you loaded the data. Have a look at the original data (assuming you are using DataSets) and the data in the database. They differ and therefore the db access can not find the record it should update.
-^-^-^-^-^- no risk no funk ................... please vote ------>