QueryableDataSourceView.ExecutePaging Method (IQueryable, QueryContext)

.NET Framework (current version)
 

Executes paging by using the QueryContext object from the QueryableDataSource object.

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

protected IQueryable ExecutePaging(
	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 number of pages of data in the data object.

.NET Framework
Available since 4.0
Return to top
Show: