admin管理员组文章数量:1530012
asp 更新数据时报错:Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded
原因:Check your object, does it pass Primary Key Null
. This Exception is Generally due this reason only.
对象的主键为空,导致不能更新,检查你要更新的对象,查看主键是否为空,或0
转载于:https://wwwblogs/liulida/p/9896488.html
本文标签: expectedaffectDatabaseoperationData
版权声明:本文标题:Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been mo... 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1726602809a1077238.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论