OptimisticLockException - Sql Server - 句柄

发布于 2024-12-25 10:36:31 字数 339 浏览 2 评论 0原文

我正在尝试使用 GridViewControl 的方法之一更新数据库中的记录。 它正在引发 OptimisticLockException。在我的数据库中,我有四个日期字段(dZadOpenDateTime、dZadCloseDateTime、dCreatedDateTime、dChangedDateTime)显示在这张图片中 http://imageshack.us/photo/my-images/854/exception.jpg/

你能给我一些提示吗处理这个异常。

I am trying update a record in the database in one of the methods of GridViewControl.
It is raising OptimisticLockException. In my database I have four date fields (dZadOpenDateTime, dZadCloseDateTime,dCreatedDateTime,dChangedDateTime) show in this picture http://imageshack.us/photo/my-images/854/exception.jpg/

Can you give me some hint how to handle this exception.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文