i

ASP.Net A Complete Guide

DetailsView

The Detailsview display a record from a data source. It helps us by providing a way for display, edit, update, insert, or delete a single record at a time. This control displays each field of a record on its own line. It is used to update & insert records. And that depending on the data source control abilities. It is not providing sorting, but this control support paging for this we need to set the AllowPaging property value to true.

In the below image, we can see the DetailsView:

Below is the design part of "DetailsView."

Syntax of Details View: