Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Databinding Issue
Message
From
23/11/2010 19:42:13
 
 
To
19/11/2010 19:26:21
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01489807
Message ID:
01490309
Views:
59
After fiddling with this for a while, I tried the endedit and it worked.
acceptchanges also works.

Thanks for pointing me at it, Bonnie.


Is there any functional difference between the two?
The doc implies that the datasource will be updated. That's not happening, and I don't want it to.

Under what circumstances would endedit cause the datasource to be updated?









>>>I thought you said one that wasn't working was bound to an object? :
>"The only difference I can see is the data in the first case is coming from a datatble, while in the second case it's coming from properties in an object "
>
>Sorry for the confusion, Viv. In both cases, the textbox is bound to a datatable.
>In the case that works, the datatable is being updated from another data table.
>In the case that doesn't work, the datatable is being updated from an object.

Maybe try an .EndEdit() on the DataRow you've just updated?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform