asp.net.ph

DataControlField.HeaderText Property

System.Web.UI.WebControls Namespace   DataControlField Class


.NET Framework version 2.0

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

Syntax


Inline <asp:datacontrolfield headertext = strText ... >
Script DataControlField.HeaderText = strText

Property Value


strText String specifying the text displayed in the header section of a DataControlField

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 a DataControlField.

If you need to display an image instead of text in the header section of the field, set the HeaderImageUrl property instead.

NOTE: If both the HeaderText and HeaderImageUrl properties are set, the HeaderImageUrl property takes precedence.

See Also

DataControlField Members   FooterText   HeaderStyle 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