QueryableDataSourceView.ExecutePaging(IQueryable, QueryContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes paging by using the QueryContext object from the QueryableDataSource object.
protected:
System::Linq::IQueryable ^ ExecutePaging(System::Linq::IQueryable ^ source, System::Web::UI::WebControls::QueryContext ^ context);
protected System.Linq.IQueryable ExecutePaging (System.Linq.IQueryable source, System.Web.UI.WebControls.QueryContext context);
member this.ExecutePaging : System.Linq.IQueryable * System.Web.UI.WebControls.QueryContext -> System.Linq.IQueryable
Protected Function ExecutePaging (source As IQueryable, context As QueryContext) As IQueryable
Parameters
- source
- IQueryable
The data source to use.
- context
- QueryContext
The data context to use.
Returns
The number of pages of data in the data object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.