Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating info. using TextBox

Status
Not open for further replies.

mooniron

Programmer
Dec 15, 2002
26
TR
Hi all.
I want to update my record from db. For this purpose I use TextBoxes. When I show record inserted into textboxes on the page by setting their values with:

TextBox1.Text = myDataSet... etc.

this value is set on the server and when I post this page back with changed text server ignores that. Server only gets the value of TextBox1.Text from the value which was set when the page was loaded. In fact I solve this poroblem with some conditional code. But I wonder whether there is an explicit way to change the Text property which is already set.
 
Make sure that the EnableViewState is True for all controls on the page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top