textbox not changing

  • Thread starter Thread starter SQL
  • Start date Start date
S

SQL

I have four text boxes on one aspx page. Three of them are populated during
page load with values from a database. The other is left blank.

When updating I've noticed that although the three text boxes have been
changed by the user, the original values are still being used when trying to
update the dataset. While the text box that was blank behaves as expected.

Has anyone else run into this problem...or have any idea as to what could
cause this.

Thanks
 
Are you not checking for postback in the page load event, and consequently
using the origonal values?

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 
Back
Top