System.Web.UI.WebControls.DataControlCellType Enumeration

Describes the function of a System.Web.UI.WebControls.DataControlFieldCell object.

Syntax

public enum DataControlCellType

Remarks

System.Web.UI.WebControls.DataControlField objects and the data-bound controls that use them use the System.Web.UI.WebControls.DataControlCellType enumeration to identify the type of cell, and therefore what attributes it should have when rendered. The DataControlCellType.DataCell cell type identifies a data-bound cell in a System.Web.UI.WebControls.GridView or System.Web.UI.WebControls.DetailsView control, whereas the DataControlCellType.Header and DataControlCellType.Footer cells identify cell types that are not bound data cells that contain other, non-data-bound content.

Members

Member NameDescription
DataCell

A System.Web.UI.WebControls.DataControlFieldCell that contains data.

Footer

A System.Web.UI.WebControls.DataControlFieldCell that is the footer cell of a table. Items in the cell are not bound to data.

Header

A System.Web.UI.WebControls.DataControlFieldCell that is the header cell of a table. Items in the cell are not bound to data.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0