System.Web.UI.WebControls.BoundField.HeaderText Property

Gets or sets the text that is displayed in the header of a data control.

Syntax

public override string HeaderText { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the BoundField.HeaderText property to identify a field in a data control with a friendly name. The most common application of the BoundField.HeaderText property is to provide meaningful column names to data-bound fields in a System.Web.UI.WebControls.GridView or System.Web.UI.WebControls.DetailsView control.

Requirements

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