Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted row information cannot be accessed through the r
Message
From
03/03/2006 02:07:37
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
 
 
To
27/02/2006 16:00:50
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01098407
Message ID:
01101166
Views:
18
Hi All,

Thank you for the reply.
I have already solve it.
The problem is my code.
There is some part of my code that cause the error.
There is no problem with the delete and update method.

Sorry for late reply.


>Larry,
>
>Yes, sometimes the .EndEdit() is necessary to "commit" changes to a DataRow that's been changed, but note that this is a DataRow method, not a method of the DataSet.
>
>In any case, I don't think this would not be the cause of the error that Rene was encountering. Somewhere, he's trying to access a column in a Deleted row in his DataTable.
>
>The DataRow's HasVersion() method determines whether a DataRow is still in the Proposed state (DataRowVersion.Proposed ... in which case, an .EndEdit() is needed), or Current or Original ... a column in a Deleted row can only be accessed by accessing the Original version.
>
>~~Bonnie
>
>
>>Rene,
>>
>>What you might try before calling the update method is to call the DataSet's EndEdit method. I don't know why but it has cleared up problems I have had in our projects. objDataSet.EndEdit()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform