Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataSet Changes
Message
De
29/05/2003 12:17:17
 
 
À
29/05/2003 11:56:38
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Divers
Thread ID:
00793978
Message ID:
00793984
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform