C# an error has occurred while updating the entries.see the log file

message:An error occurred while updating the entries. See the inner exception for details.

C# 在执行插入方法时出现 An error occurred while updating the entries. See the inner exception for details.错误有两种可能

1,主键没有赋值,根据SQL-Server设计原则主键是自增的,应该自动生成

2,CreateTime 没有赋值

posted on 2018-12-10 18:51  沫丶灬沫  阅读(992)  评论(0编辑  收藏  举报