System.Web.UI.WebControls.HyperLinkColumn.DataTextFormatString Property

Gets or sets the display format for the text caption of the hyperlinks in the System.Web.UI.WebControls.HyperLinkColumn column.

Syntax

[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.Description("The formatting applied to the value bound to the Text property.")]
public virtual string DataTextFormatString { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HyperLinkColumn.DataTextFormatString property to provide a custom display format for the text caption of the hyperlinks in the System.Web.UI.WebControls.HyperLinkColumn. The specified format is applied to the text caption only when the text caption is data bound to a field in a data source. Specify the field to bind to the text caption of the hyperlinks in the column by setting the HyperLinkColumn.DataTextField property.

For information on the syntax of formatting strings, see string.Format(string, object).

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0