System.Web.UI.WebControls.HyperLinkField.FormatDataTextValue Method

Formats the caption text using the format string specified by the HyperLinkField.DataTextFormatString property.

Syntax

protected virtual string FormatDataTextValue (object dataTextValue)

Parameters

dataTextValue
The text value to format.

Returns

The formatted text value.

Remarks

The HyperLinkField.FormatDataTextValue(object) method is a helper method used to format the caption text of a hyperlink in a System.Web.UI.WebControls.HyperLinkField object with the format string specified by the HyperLinkField.DataTextFormatString property.

Note:

This method is used primarily by control developers.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0