DetailsView Proprties In ASP.NET

AllowPaging :-
true/false. Indicate whether the control should support navigation.
DataSource :-
Gets or sets the data source object that contains the data to populate the control.

DataSourceID :-
Indicate the bound data source control to use (Generally used when we are using SqlDataSource or AccessDataSource to bind the data).
AutoGenerateEditButton :-
true/false. Indicates whether a separate column with edit link/button should be added to edit the record.
AutoGenerateDeleteButton :-
true/false. Indicates whether a separate column with delete link/button should be added to delete the record.
AutoGenerateRows :-
true/false. Indicate whether rows are automatically created for each field of the data source. The default is true.
DefaultMode :-
ReadOnly/Insert/Edit. Indicate the default display mode.

No comments:

Post a Comment