Now, we have Edit button on Details View control in ASP. When we click Edit Button that time we need to change mode of Details View control for Editing Records.
For Editing set Autogenerate Edit Button = True at property of Details View control.
Here, we will learn how to edit, update, delete record to Details View in ASP. If you click Cancel Button then Details View back to original Readonly mode.
The Current Mode of Details View contorl is Read Only we change the mode to Edit for Editing Record..
However I can't remember off the top of my head when the data source will get data-bound.
I think the problem is to do with the new values from the textbox not being retrieved.
Ok, Now I'm sure this was working the other day and I don't think I've changed anything but now it's not working and I can't see anything wrong with the code.
Basically I have a details view with product information in it, when the user clicks edit it goes into edit mode when I change any of the fields and click update it updates but with the old values.
I think what you have should work ok, provided the Form View has data and it has been data-bound.
Find Control(..) will probably return null if there is no data.