Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why my .GetChanges() does not work?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01445923
Message ID:
01445924
Vues:
29
>Hi,
>
>I have a form with controls (textboxes) bound to a typed dataset oMyDs. I change a value in one of the text boxes and click on a button (created for testing). In the click method of this form I do the following:
>
>
>DataSet dsChanges = oMyDs.GetChanges(DataRowState.Modified);
>
>
>Then I inspect the value of dsChanges and it is NULL. What am I missing?

Have you tried working with SQL data the easy way (SQLDatasource using Stored Proc for insert/update/select) and a bindable set of controls like a FormView?

Pretty much zero code and some visual design work in reasonably simple situations.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform