Share via


SPDataSource.Selecting Event

Occurs before a data retrieval operation.

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

Syntax

Public Event Selecting As EventHandler

Dim instance As SPDataSource
Dim handler As EventHandler

AddHandler instance.Selecting, handler
public event EventHandler Selecting

Remarks

The Selecting event is raised immediately before data is retrieved from the underlying data source. To handle the event, override the OnSelecting(EventArgs) method.

See Also

Reference

SPDataSource Class

SPDataSource Members

Microsoft.SharePoint.WebControls Namespace

OnSelecting(EventArgs)