再次错误 [英] error again
本文介绍了再次错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
并发冲突:UpdateCommand影响了预期的1条记录中的0条. < -----我使用绑定知道为什么会发生此错误吗?
Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. <----- Im using binding any idea why this error is happening?
推荐答案
此错误有两个原因:
1)编辑自动增量数据字段.
2)更新表中没有主键字段的任何行.
检查您违反的两个中的哪一个!
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!
您是否麻烦过Google搜索错误?我做到了,获得了1300多个点击.
Did you bother to google the error? I did, and I got over 1300 hits.
这篇关于再次错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文