Foxtable版本:2020-01-19
这是什么问题?突然这样,总是报下面两个错误
System.InvalidOperationException: DataTable 内部索引已损坏:“5”。
在 System.Data.RBTree`1.RBInsert(Int32 root_id, Int32 x_id, Int32 mainTreeNodeID, Int32 position, Boolean append)
在 System.Data.RBTree`1.RBInsert(Int32 root_id, Int32 x_id, Int32 mainTreeNodeID, Int32 position, Boolean append)
在 System.Data.Index.RecordStateChanged(Int32 oldRecord, DataViewRowState oldOldState, DataViewRowState oldNewState, Int32 newRecord, DataViewRowState newOldState, DataViewRowState newNewState)
在 System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2)
在 System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
在 System.Data.DataRow.EndEdit()
在 【FoxTable】.DataTable.O.o_00OO_.(Object A_0, DataColumnChangeEventArgs A_1)
System.Data.ConstraintException: 列“_Identify”被约束为是唯一的。值“106”已存在。
在 System.Data.UniqueConstraint.CheckConstraint(DataRow row, DataRowAction action)
在 System.Data.DataTable.RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, Boolean fireEvent)
在 System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
在 System.Data.DataRow.EndEdit()
在 【FoxTable】.DataTable.O.o_00OO_.(Object A_0, DataColumnChangeEventArgs A_1)
[此贴子已经被作者于2020/11/21 3:41:27编辑过]