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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph