QueryableDataSourceView::ExecuteQuery Method (IQueryable^, QueryContext^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Performs a query, sort, or paging operation on the IQueryable<T> object.

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

protected:
virtual IQueryable^ ExecuteQuery(
	IQueryable^ source,
	QueryContext^ context
)

Parameters

source
Type: System.Linq::IQueryable^

The data source object to use.

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

The data context to use.

Return Value

Type: System.Linq::IQueryable^

The data object that contains the result of the query, of sorting, or of paging.

.NET Framework
Available since 4.0
Return to top
Show: