Export (0) Print
Expand All

QueryableDataSourceView.ExecuteSorting Method

Performs a sorting operation.

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

protected IQueryable ExecuteSorting(
	IQueryable source,
	QueryContext context
)

Parameters

source
Type: System.Linq.IQueryable

The data source to use.

context
Type: System.Web.UI.WebControls.QueryContext

The data context to use.

Return Value

Type: System.Linq.IQueryable
The sorted data object.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft