Detailsview itemupdating newvalues

In order to update a record, set the value of Auto Generate Edit Button property as true.The Auto Generate Edit Button property automatically generates the Edit link at the bottom of Detail View control. The Data Key Names property holds the name of the primary key column of database table.User can also update the existing database records.Details View control has the properety Auto Generate Edit Button.In general Grid View control displays more than one record, but the Details View control displays single record from database table.

Here Database name is Employee and table name is tbl Emps. For achieve paging set Allow Paging property as True.

The Details View supports both declarative and programmatic databinding.

Details View control supports the edit, insert, delete and paging functionality.

Form View and Details View controls are quite similar, but differ in the way they lay out their outputs.

Form View permits complete control over the layout and enables easy creation of custom forms with controls to display and edit fields.


Leave a Reply