Export (0) Print
Expand All

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 virtual void Select (
	DataSourceSelectArguments arguments,
	DataSourceViewSelectCallback callback
)
public void Select (
	DataSourceSelectArguments arguments, 
	DataSourceViewSelectCallback callback
)
public function Select (
	arguments : DataSourceSelectArguments, 
	callback : DataSourceViewSelectCallback
)
Not applicable.

Parameters

arguments

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

callback

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

Exception typeCondition

ArgumentNullException

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

Community Additions

ADD
Show:
© 2014 Microsoft