LinqDataSource.Selected Event

Definition

Occurs when a data retrieval operation has finished.

public:
 event EventHandler<System::Web::UI::WebControls::LinqDataSourceStatusEventArgs ^> ^ Selected;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceStatusEventArgs> Selected;
member this.Selected : EventHandler<System.Web.UI.WebControls.LinqDataSourceStatusEventArgs> 
Public Custom Event Selected As EventHandler(Of LinqDataSourceStatusEventArgs) 

Remarks

Handle the Selected event to catch any exceptions from the data retrieval operation or to examine the data object after the retrieval operation has finished. The object is available from the LinqDataSourceStatusEventArgs object that is passed to event handlers.

Applies to