none
The error of modify a Modified-DataRow RRS feed

  • Question

  • When I want to modify a modified DataRow, the exception was occured :

     

    XXXRow['...'] := ...

     

    *DataRowState is Modified before modify the column value.

    *The table of modified row have child table(dataset relation/foreignkey) and child table have add lookup column (Parent(...).ParentColumn) to table,

    but if the child table have no lookup column the error won't occur =.=||| daㄩㄩ

     GOD, THERE HAVE LOTS OF PROBLEM LIKE THIS IN ADO.NET, GOD, HELP MS, HELP MS.

     

    There is no Original data to access.

     

    Stack trace : at System.Data.DataTable.SetNewRecord(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge)
       at System.Data.DataRow.SetNewRecord(Int32 record)
       at System.Data.DataRow.EndEdit()
       at System.Data.DataRow.set_Item(DataColumn column, Object value)
       at System.Data.DataRow.set_Item(String columnName, Object value)

    at mine...

     

    What can I say...

     

    .NET

    .BUG

     

    Wednesday, July 11, 2007 7:08 AM