SPDataSourceView.ExecuteSelect method

Retrieves data from the underlying data source using the SelectCommand string and any parameters that are in the SelectParameters collection.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Function ExecuteSelect ( _
    selectArguments As DataSourceSelectArguments _
) As IEnumerable
'Usage
Dim selectArguments As DataSourceSelectArguments
Dim returnValue As IEnumerable

returnValue = Me.ExecuteSelect(selectArguments)
protected override IEnumerable ExecuteSelect(
    DataSourceSelectArguments selectArguments
)

Parameters

Return value

Type: System.Collections.IEnumerable
A System.Collections.IEnumerable object that contains the requested data.

Remarks

The SPDataSourceView class implements the inherited ExecuteSelect method to retrieve data from a list or list item.

Data-bound control authors should not call the ExecuteSelect method directly; instead, use the publicly exposed Select(DataSourceSelectArguments) method.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace