DetailsView generates a user interface similar to the Form View of a Microsoft Access database, and is typically used for updating/deleting any currently displayed record or for inserting new records. You can use the DetailsView control to update existing database records. In order to update an existing record, assign the value True to the DetailsView controls AutoGenerateEditButton property .
AutoGenerateEditButton="true"

If you want the DetailsView control to initially appear in Edit mode, then you can set the DetailsView controls DefaultMode property to the value Edit.
Default.aspx
Untitled Page
ASP.NET Deatilsview - Related Contents
Advertisement
ASP.NET Related Topics