SqlDataSourceView.Selecting Evento
Definição
Ocorre antes de uma operação de recuperação de dados.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
Tipo de evento
Comentários
Manipule o Selecting evento para executar operações de inicialização adicionais que são específicas para seu aplicativo, para validar os valores dos parâmetros ou para alterar os valores de parâmetro antes que o SqlDataSource controle execute a operação de recuperação de dados.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.
Para obter mais informações sobre como lidar com eventos, consulte manipulando e gerando eventos.For more information about how to handle events, see Handling and Raising Events.