BoundField.HeaderText Property
.NET Framework 3.0
Gets or sets the text that is displayed in the header of a data control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: virtual property String^ HeaderText { String^ get () override; void set (String^ value) override; }
/** @property */ public String get_HeaderText () /** @property */ public void set_HeaderText (String value)
public override function get HeaderText () : String public override function set HeaderText (value : String)
Not applicable.
Property Value
The text displayed in the header of a data control. The default value is an empty string ("").Use the HeaderText property to identify a field in a data control with a friendly name. The most common application of the HeaderText property is to provide meaningful column names to data-bound fields in a GridView or DetailsView control.
Community Additions
ADD
Show: