when want to edit data see last value (no value that i enter now)

faouzi

New Member
I fill textboxes with data that i get from database and put a button on page that user can edit data and click on this button then from code behind i set changes to databasebut when i want to send data (for example \[code\]txtName.Text\[/code\] that source value is "John" and i change it to "Tom") to database i see \[code\]txtName.Text\[/code\] is "John" (means last value no new value)why?
 
Back
Top