System.Web.UI.WebControls.DataControlField.SortExpression Property

Gets or sets a sort expression that is used by a data source control to sort data.

Syntax

[System.ComponentModel.DefaultValue("")]
public virtual string SortExpression { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataControlField.OnFieldChanged method is called to raise a state change event when the DataControlField.SortExpression property is set.

The value of the DataControlField.SortExpression property is stored in view state.

Requirements

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