System.Web.UI.WebControls Namespace DataGridColumn Class
Sets or retrieves the text displayed in the header section of a column.
Inline |
<asp:datagridcolumn headertext = strText ... > |
Script |
DataGridColumn.HeaderText = strText |
strText |
String specifying the text displayed in the header section of the column. |
The property is read/write with no default value.
Use the HeaderText property to specify or determine the text displayed in the header section of the column.
If you need to display an image instead of text in the header section of the column, set the HeaderImageUrl property instead of this property.
DataGridColumn Members FooterText