Data Source View. Selecting Event
Occurs before a data retrieval operation.
public: event System::Web::UI::WebControls::SqlDataSourceSelectingEventHandler ^ Selecting;
public event System.Web.UI.WebControls.SqlDataSourceSelectingEventHandler Selecting;
member this.Selecting : System.Web.UI.WebControls.SqlDataSourceSelectingEventHandler
Public Custom Event Selecting As SqlDataSourceSelectingEventHandler
Handle the Selecting event to perform additional initialization operations that are specific to your application, to validate the values of parameters, or to change the parameter values before the SqlDataSource control performs the data retrieval operation.
For more information about how to handle events, see Handling and Raising Events.