EnableViewProperty

  • Thread starter Thread starter bbawa1
  • Start date Start date
B

bbawa1

hi,

I have a web page and it has three textboxes. It has already some
text. When I edit the text boxes and click on Edit button the button
supposed to epdate the data in the database. But when I debug it the
value of textboxes gives me the previous value not the edited value
may be in postback it lost it's new value. I set enableviewstate
property to True but even then it doesn't work.

Thanks in advance.

hahii
 
Where is the original value of the textbox being set?
I suspect you're accidentally overwriting the user entered value with that
same value upon each postback.
It's a common error.
 
Where is the original value of the textbox being set?
I suspect you're accidentally overwriting the user entered value with that
same value upon each postback.
It's a common error.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsiderhttp://SteveOrr.net









- Show quoted text -

No, I am not entering the same value.
 
Back
Top