DetailsView Style Properties In ASP.NET

AlternatingRowStyle :-
Defines the style properties for every alternate row in the DetailsView.
EditRowStyle :-
Defines the style properties for the row in EditView (When you click Edit button for a row, the row will appear in this style).

RowStyle :-
Defines the style properties of the rows of the DetailsView.
PagerStyle :-
Defines the style properties of Pager of the DetailsView. (If AllowPaging=true, the page number row appears in this style)
EmptyDataRowStyle :-
Defines the style properties of the empty row, which appears if there is no records in the data source.
HeaderStyle :-
Defines the style properties of the header of the DetailsView. (The column header appears in this style.)
FooterStyle :-
Defines the style properties of the footer of DetailsView.
Appearance Properties of the DetailsView Control
CellPadding :-
Indicates the amount of space in pixel between the cells and the border of the DetailsView.

No comments:

Post a Comment