Export (0) Print
Expand All

HyperLinkColumn.FormatDataTextValue Method

Formats a data-bound text caption using the format specified by the DataTextFormatString property.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected virtual string FormatDataTextValue(
	Object dataTextValue
)

Parameters

dataTextValue
Type: System.Object

The data-bound URL to format.

Return Value

Type: System.String
The data-bound text caption in the format specified by the DataTextFormatString property.

Use the FormatDataTextValue method to format a data-bound text caption value with the format specified by the DataTextFormatString property.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft