Raises the Selecting event.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Before a data retrieval operation is performed by the SPDataSourceView object that is associated with the SPDataSource control, the OnSelecting method is called to raise the Selecting event. You can raise the event in your own code by calling the OnSelecting method as well, passing your own EventArgs object.
To register a handler with the Selecting event, use the += event accessors in C# or the AddHandler statement in Visual Basic. To prevent the event from being raised, subclass the SPDataSource control and then override the OnSelecting method.