System.Web.UI.WebControls.ButtonField.FormatDataTextValue Method

Formats the specified field value for a cell in the System.Web.UI.WebControls.ButtonField object.

Syntax

protected virtual string FormatDataTextValue (object value)

Parameters

value
Documentation for this section has not yet been entered.

Returns

The field value converted to the format specified by the ButtonField.DataTextFormatString property.

Remarks

The ButtonField.FormatDataTextValue(object) method is a helper method that is used to transform a field value to the format that is specified by the ButtonField.DataTextFormatString property.

Requirements

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