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 Sub DataSourceViewSelectCallback ( _
	data As IEnumerable _
Dim instance As New DataSourceViewSelectCallback(AddressOf HandlerMethod)


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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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, 3.0, 2.0