asp.net.ph

DataGridColumn.HeaderText Property

System.Web.UI.WebControls Namespace   DataGridColumn Class


Sets or retrieves the text displayed in the header section of a column.

Syntax


Inline <asp:datagridcolumn headertext = strText ... >
Script DataGridColumn.HeaderText = strText

Property Value


strText String specifying the text displayed in the header section of the column.

The property is read/write with no default value.

Remarks

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.

See Also

DataGridColumn Members   FooterText Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note