Skip to main content

SelectQuery.SortByExpression(String) Method

Sorts a data table by a specified expression.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#Declaration

public Sorting SortByExpression(
    string expression
)

#Parameters

Name Type Description
expression String

A String value, specifying the sorting expression.

#Returns

Type Description
Sorting

A Sorting object.

See Also