DataSourceViewSelectCallback Delegate
Collapse the table of content
Expand the table of content

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
Available since 2.0
Return to top
© 2015 Microsoft