aspxtreme

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 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 aspxtreme