Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you save the data, guys?
Message
De
06/09/2005 13:47:21
 
 
À
06/09/2005 12:35:02
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 1.1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01046932
Message ID:
01047103
Vues:
16
Hi, Bonnie

Ok, thank you, I've got the idea. However, now is something else that bothers me. Why "sometimes"? Kevin's book doesn't have that in the code, however the code does save data. What's the difference and whey I am supposed to commit data from BindingContext and when I am not?

>Grig,
>
>Sometimes you need to do an .EndEdit() or an .EndCurrentEdit(). If you put this code:
>
>this.BindingContext[dsBook].EndCurrentEdit();
>
>before you save, you should see that dsBook.HasChanges() should now be true.
>
>~~Bonnie
Grigore Dolghin
Class Software.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform