Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to undo changes to a dataset?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
How to undo changes to a dataset?
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01444398
Message ID:
01444398
Vues:
98
Hi,

I am moving to the next step of converting a VFP project to WinForms (working on a real small project).

My VFP form has (among others) two buttons, Save and Cancel. When user makes changes to any of the fields (textboxes, combo, etc) he/she can click on Cancel and the code in Cancel.click() reverts the changes to the cursor. Since my WinForm controls are bound to a table in a typed data set I need to do kind of the same. How do you undo changes to the table in a data set?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform