DataSourceView.Select Method

Gets a list of data asynchronously from the underlying data storage.

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

Public Overridable Sub Select ( _
	arguments As DataSourceSelectArguments, _
	callback As DataSourceViewSelectCallback _
Dim instance As DataSourceView
Dim arguments As DataSourceSelectArguments
Dim callback As DataSourceViewSelectCallback

instance.Select(arguments, callback)
public void Select (
	DataSourceSelectArguments arguments, 
	DataSourceViewSelectCallback callback
public function Select (
	arguments : DataSourceSelectArguments, 
	callback : DataSourceViewSelectCallback
Not applicable.



A DataSourceSelectArguments that is used to request operations on the data beyond basic data retrieval.


A DataSourceViewSelectCallback delegate that is used to notify a data-bound control when the asynchronous operation is complete.

Exception typeCondition


The DataSourceViewSelectCallback supplied is a null reference (Nothing in Visual Basic).

The Select method is the asynchronous data retrieval interface for all data source view objects. The Select method calls the ExecuteSelect method, passing any DataSourceSelectArguments supplied. The callback parameter is a delegate that a data-bound control passes to the data source view, which is used to notify the data-bound control when the ExecuteSelect operation has completed. The data returned by the ExecuteSelect call is returned in the parameter of the DataSourceViewSelectCallback delegate.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0