QueryableDataSourceView.ExecuteSorting Method (IQueryable, QueryContext)

.NET Framework (current version)
 

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
Available since 4.0
Return to top
Show: