This documentation is archived and is not being maintained.

DataSourceViewSelectCallback Delegate

Represents the asynchronous callback method that a data-bound control supplies to a data source view for asynchronous data retrieval.

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

public delegate void DataSourceViewSelectCallback(
	IEnumerable data


Type: System.Collections.IEnumerable
An IEnumerable collection of data records that the Select and ExecuteSelect methods return.

By default, ASP.NET Web page and control execution is synchronous. However, ASP.NET data source controls also support an asynchronous data retrieval pattern for data operations. None of the data source controls provided by ASP.NET version 2.0 are asynchronous, but a control developer can build a data source control that is asynchronous. The DataSourceView object supports the Select method for asynchronous data retrieval. The DataSourceViewSelectCallback delegate is passed to the data source view by a data-bound control, so that the view can call this delegate when asynchronous processing is complete and deliver the data to the data-bound control.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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