Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataSet Changes
Message
From
29/05/2003 12:17:17
 
 
To
29/05/2003 11:56:38
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Miscellaneous
Thread ID:
00793978
Message ID:
00793984
Views:
21
Dan,

How about just adding the Row back in again after the RejectChanges() ...

~~Bonnie


>I have a DataTable that I append a DataRow into. The row has a RowState of Added. When a user want's to cancel any changes they have made I call the RejectChanges method for the row. This removes the row from the table, which is not the intent. The intent is to clear any changes made. Is there a way to do this without having to save the record before allowing the user to edit?
>
>Thanks,
>Dan
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform