Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter/Gather with DataRow & DataSet
Message
 
 
To
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:
01348205
Views:
14
>>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.

Thanks again, John. See my reply to Bruce with the whole code.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform