Export (0) Print
Expand All

DataSourceSelectArguments.SortExpression Property

Gets or sets an expression that the data source view uses to sort the data retrieved by the DataSourceView.Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public string SortExpression { get; set; }

Property Value

Type: System.String
A string that the data source view uses to sort data retrieved by the DataSourceView.Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method. Empty is returned if sort expression has not been set.

The SortExpression property supports sorting scenarios.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft