This documentation is archived and is not being maintained.
ButtonColumn.FormatDataTextValue Method
.NET Framework 1.1
Converts the specified value to the format indicated by the DataTextFormatString property.
[Visual Basic] Protected Overridable Function FormatDataTextValue( _ ByVal dataTextValue As Object _ ) As String [C#] protected virtual string FormatDataTextValue( object dataTextValue ); [C++] protected: virtual String* FormatDataTextValue( Object* dataTextValue ); [JScript] protected function FormatDataTextValue( dataTextValue : Object ) : String;
Parameters
- dataTextValue
- The value to format.
Return Value
The specified value converted to the format indicated by the DataTextFormatString property.
Remarks
Use the FormatDataTextValue method to convert the specified value to the format indicated by the DataTextFormatString property.
Note This method returns the string equivilent of the value if the DataTextFormatString property is not set.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
ButtonColumn Class | ButtonColumn Members | System.Web.UI.WebControls Namespace | DataTextFormatString
Show: