LinqDataSourceView.Selected 事件

定义

在数据检索操作完成后发生。Occurs when a data-retrieval operation has completed.

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) 

事件类型

EventHandler<LinqDataSourceStatusEventArgs>

注解

处理此事件以捕获在选择操作过程中引发的异常,或在操作完成后检查值。Handle this event to catch exceptions that were thrown during the select operation or to examine the values after the operation has completed. 可以从 LinqDataSourceStatusEventArgs 与事件关联的对象中检索值。You can retrieve the values from the LinqDataSourceStatusEventArgs object that is associated with the event.

适用于

另请参阅