This documentation is archived and is not being maintained.

LinqDataSource.Selected Event

Occurs when a data retrieval operation has finished.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

'Declaration
Public Event Selected As EventHandler(Of LinqDataSourceStatusEventArgs)
'Usage
Dim instance As LinqDataSource 
Dim handler As EventHandler(Of LinqDataSourceStatusEventArgs)

AddHandler instance.Selected, handler
<asp:LinqDataSource OnSelected="EventHandler" />

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: