Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter/Gather with DataRow & DataSet
Message
De
16/09/2008 17:52:41
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01348001
Message ID:
01348062
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform