LinqDataSource::Selected Event


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Occurs when a data retrieval operation has finished.

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

event EventHandler<LinqDataSourceStatusEventArgs^>^ Selected {
	void add(EventHandler<LinqDataSourceStatusEventArgs^>^ value);
	void remove(EventHandler<LinqDataSourceStatusEventArgs^>^ value);

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.

.NET Framework
Available since 3.5
Return to top