S
santgan
Unregistered / Unconfirmed
GUEST, unregistred user!
采用ADO组件连接Access数据库,设置了主键。在编辑完记录,Post的时候出现如下错误提示:
The specified row could not be located for updating:Some values may have been changed since it was last read.
无法提交所做的更改。请问这句话是什么意思,应该如何解决。程序中不涉及到任何并发操作,因此不应该出现这种更新异常的。
我的ConnectionString是:
Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data Source=D:/gz/CBuilder/SenSoft/sensoft.mdb;Mode=Share Deny None;Extended Properties="";Locale Identifier=2052;Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDBatabase Password="";Jet OLEDB:Engine Type=4;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False
The specified row could not be located for updating:Some values may have been changed since it was last read.
无法提交所做的更改。请问这句话是什么意思,应该如何解决。程序中不涉及到任何并发操作,因此不应该出现这种更新异常的。
我的ConnectionString是:
Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data Source=D:/gz/CBuilder/SenSoft/sensoft.mdb;Mode=Share Deny None;Extended Properties="";Locale Identifier=2052;Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDBatabase Password="";Jet OLEDB:Engine Type=4;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False