Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter/Gather with DataRow & DataSet
Message
From
16/09/2008 17:52:41
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348001
Message ID:
01348062
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>My idea is to be able to save a Row before deleting it and be able to restore it from the saved copy. However, my attempts so far have been unsuccessful (as well as google searches). Can you please tell me how can this be done (if the functionality is possible)?
>
>Thanks a lot in advance.

The datarow is nothing more than an array. If I remember correctly you can do something like:
     object[] rowArray = DataRow.ItemArray;
You can then use the array or the DataRow and then if you need to reassign your rowArray back to the DataRow.ItemArray.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform