This allows you to provide an event handler that performs a custom routine, such as canceling the mode change, whenever this event occurs.
A Details View Mode Event Args object is passed to the event handler, which allows you to determine the new mode, to determine whether the mode change was a result of the user canceling an edit operation, or to cancel the mode change.
But the only thing is when they wanted to edit it from the detailsview.
Bu örneğimde Details View kontrolünde listelenmiş olan çalışan verilerini güncellemeyi göstereceğim.Grid View ve Details View kontrollerinde editleme yapabilmemiz için her iki kontrolünde sahip olmuş olduğu Command Field özelliğini kullanırız.Şimdi uygulamıza başlayalım : sayfasını visual studio da design modda açalım.You shouldn't have to explicitly call fw Hotel Details. This event is raised when a Form View control attempts to switch between edit, insert, and read-only mode, but before the mode actually changes. This property is used to disable automatically display of records from database.I would like to give them an opportunity to search their information that they've inserted into my web site and edit it. In my detailsview, I have added an edit button for them to edit their data.