Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataBinding without Tabbing Out
Message
De
30/05/2003 16:39:31
 
 
À
30/05/2003 16:27:51
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00794715
Message ID:
00794757
Vues:
9
Hmmm ... so, you're saying that instead of doing the EndEdit(), I should be doing the EndCurrentEdit()? (I just don't want to break existing code ... perhaps doing both of these methods would solve the problem).

I know the EndEdit() is necessary to make sure that ds.HasChanges() returns true correctly, but I'm not sure of the difference between it and EndCurrentEdit(). Anyway, I'll give it a try ... thanks.

~~Bonnie


>Yes, EndEdit() does not work in this situation, but this works...
>
>You can put this call in the place you think this is apropriate. For example, user was changed something and tries to close form with the corner "X". You can pop-up message box, asking whether user wants to save changes, and if it answers "Yes", you use this call before calling to the Update() method of the DataAdapter.
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