Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table not updated.
Message
From
14/06/2007 15:25:05
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
14/06/2007 14:35:05
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01232865
Message ID:
01233236
Views:
11
>I think I found it.
>
>
>xref.AcceptChanges();  // Does not send update back to source.
>ta.Update(xref);       // Does send update back to source.
>
>
>But if you call AcceptChanges before Update... nothing gets sent.
>
>Not sure I get the usefullness of AcceptChanges, but at least I get why I'm not updating.

Yes, the .AcceptChanges only "finalizes" the changes in the datatable... you need to reconcile the differences back to the SQL table. And really, I think you should be sending the change back to the database and if there are no errors, do an .AcceptChanges.

Sorry about not replying sooner...
Very fitting: http://xkcd.com/386/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform