asp.net.ph

FormView.HeaderText Property

System.Web.UI.WebControls Namespace   FormView Class


.NET Framework version 2.0

Sets or retrieves the text displayed in the header row of a FormView control.

Syntax


Inline <asp:formview headertext = strText ... >
Script FormView.HeaderText = strText

Property Value


strText String specifying the text displayed in the header row of a FormView control.

The property is read/write with no default value.

Remarks

Use the HeaderText property to specify or determine the text displayed in the header row of a FormView control. The header row is displayed at the top of the FormView control when either the HeaderText or HeaderTemplate property is set.

To control the style of the header row, use the HeaderStyle property.

Alternatively, you can define your own custom user interface ( UI ) for the header row by setting the HeaderTemplate property instead of this property.

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

See Also

FormView Members   EmptyDataText   HeaderTemplate   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