Groups | Blog | Home
all groups > asp.net webcontrols > june 2004 >

asp.net webcontrols : Text box data binding



FredBloggs012
6/14/2004 3:55:01 PM
If I code a textbox text property to be data bound eg
Text='<%# DataBinder.Eval(DataSet11, "Tables[COMPANY].DefaultView.[0].Name") %>'
Scott M.
6/14/2004 9:28:39 PM
It won't be updated at all. You will need to create an update button and an
eventhandler for that button. You then take the value from the textbox and
place that value into your dataset. From there you have your DataAdapter
update the original data source and refresh the rest of the data by
rebinding all the controls.


[quoted text, click to view]
when in the page processing cycle will it be updated?

AddThis Social Bookmark Button