Click here to Skip to main content
16,020,877 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. <----- Im using binding any idea why this error is happening?
Posted

This error has two reasons:

1) Editing an Auto Increment Data Field.
2) Updating any row of a table which hasn't a Primary Key Field.

Check which one of the two you are violating!
 
Share this answer
 
Did you bother to google the error? I did, and I got over 1300 hits.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900