I have a DetailsView bound to a Sql Server datasource
When i click the "update" button, a stored procedure is executed, which tests to see if the submitted values are appropriate and returns an error message if the item could not be updated.
However, because the DetailsView re-binds on a post back i have now lost what i have typed into the boxes.
Sure, i can manually save the entered data into variables during the DetailsView_OnUpdating event and recall these, if necessary, on the DetailsView_DataBound event but this is very time consuming.
Is there an easier way? Thanks in advance