ButtonColumn::FormatDataTextValue Method (Object^)

 

Converts the specified value to the format that is indicated 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 value to format.

Return Value

Type: System::String^

The dataTextValue converted to the format indicated by the DataTextFormatString.

Use the FormatDataTextValue method to convert the specified value to the format that is indicated by the DataTextFormatString property.

System_CAPS_noteNote

The FormatDataTextValue method returns the string equivalent of the value, if the DataTextFormatString property is not set.

.NET Framework
Available since 1.1
Return to top
Show: