Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why my .GetChanges() does not work?
Message
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01445923
Message ID:
01445924
Views:
30
>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!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform