Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

QueryableDataSourceView.ExecuteSorting Method

.NET Framework 4.6 and 4.5

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