Click here to Skip to main content
15,889,808 members
Articles / General Programming / Exceptions

Concurrency violation: the UpdateCommand affected 0 of the expected 1 records

Rate me:
Please Sign up or sign in to vote.
3.00/5 (2 votes)
4 Dec 2009CPOL 40.1K   3  
hi all.i've just encountered a problem in C#:"Concurrency violation: the UpdateCommand affected 0 of the expected 1 records".that is an exception raised when there is a mismatch between the time that the DataTable reads from the DB until the time it wants to update it.one can use 2...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Israel Israel
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions