asp.net.ph

DataControlRowType Enumeration

System.Web.UI.WebControls Namespace


.NET Framework version 2.0

Specifies the type of a row in a data control, such as a DetailsView or GridView.

Members


Member Name Description
DataRow A data row of a data control. Only data rows can be data-bound.
EmptyDataRow A row that displays page buttons or a pager control. Pager rows cannot be data-bound.
Footer A footer row of a data control. Footer rows cannot be data-bound.
Header A header row of a data control. Header rows cannot be data-bound.
Pager A row that displays page buttons or a pager control. Pager rows cannot be data-bound.
Separator A row separator. Row separators cannot be data-bound.

Remarks

The DataControlRowType enumeration represents the different rows that can be included in a data control, such as a DetailsView or GridView. A typical data control consists of rows that contain elements represented by this enumeration.

The DataControlRowType enumeration identifies the function of rows in a data control. It is used by the DetailsView and GridView controls to distinguish between rows that display data and rows that display other user interface ( UI ) elements, such as a header row, row separator, or the pager buttons of the control.

You can use the DataControlRowType enumeration to identify the type of a GridViewRow or DetailsViewRow object when enumerating through a GridViewRowCollection or DetailsViewRowCollection, respectively. If you are writing a data control that uses rows, you can use the DataControlRowType enumeration to identify the function of different rows in the control.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph