HyperLinkColumn.FormatDataTextValue Method (Object)

 

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
Available since 1.1
Return to top
Show: