Lets say I have a page that has a Button control and a Table control.
The Table control holds a textbox that gets its text from a DB. Now
when i click the Button control I want whatever text in the TextBox
to be saved to the DB. So it would be like an update.
My problem: When I click on the Button control the text in the TextBox
doesn't get saved...the old text from the DB is loaded because before
the Button_Click event is fired the Page_Load method is called and
that resets the TextBox to the original text from the DB.
How can i over come this? (The example above is simplified so
viewstate wont help).
Thanks.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*