The detailsview detailsview1 fired event itemupdating
Edit Index property of Grid View is used to set index of the row to edit and Bind Grid View method is called to bind Grid View with the editing row.Then Title Id of editing row is retrieved from the Grid View and passed to Bind Details View method to show Author’s detail in the Details View Mode Changing event of Details View control is fires before its mode is changed. New Mode is passed to Change Mode method of Details View to change its mode from Read Only to Edit.In my previous article Details View Rich Data Control we have learned how to use Details View using SQLData Source data control... I got many mails about how to use Details View without SQLData Source. event is raised when an Update button within a Details View control is clicked, but before the update operation.This allows you to provide an event handler that performs a custom routine, such as canceling the update operation, whenever this event occurs. This allows you to provide an event handler that performs a custom routine, such as canceling the mode change, whenever this event occurs.
I was stocked for sometime using the 2.0 Details View control to Edit/Update data.I solve this problem by canceling the Item Updating event, changing the mode, and rebinding the details view data source.