Gets or sets the name of the column to use as the column header for the GridView control. This property is provided to make the control more accessible to users of assistive technology devices.
Assembly: System.Web (in System.Web.dll)
[<TypeConverterAttribute("System.Web.UI.Design.DataColumnSelectionConverter, System.Design, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>] abstract RowHeaderColumn : string with get, set [<TypeConverterAttribute("System.Web.UI.Design.DataColumnSelectionConverter, System.Design, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>] override RowHeaderColumn : string with get, set
Property ValueType: System.String
The name of the column to use as the column header. The default is an empty string (""), which indicates that this property is not set.
In HTML, the header of a table can be associated with either a row or a column. The direction is specified by setting the scope attribute of the <th> elements. The GridView control has a built-in header row that can be displayed by setting the ShowHeader property to true. You can also optionally specify a header column (usually the first or last column in the GridView control) by setting this property. When this property is set, all cells in the column that corresponds to the specified field name are rendered as <th scope="row"> elements.
The default rendering of the <th> element is preserved, rendering text as bold and centered horizontally. Developers can override the behavior of the <th> element using a cascading style sheet.
This property works only with bound fields. It does not work with template fields.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.