This documentation is archived and is not being maintained.

SqlDataSourceSelectingEventArgs.Arguments Property

Note: This property is new in the .NET Framework version 2.0.

Gets the DataSourceSelectArguments object passed to the Select method.

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

public DataSourceSelectArguments Arguments { get; }
/** @property */
public DataSourceSelectArguments get_Arguments ()

public function get Arguments () : DataSourceSelectArguments

Property Value

A DataSourceSelectArguments object, or a null reference (Nothing in Visual Basic) if no DataSourceSelectArguments object is specified during SqlDataSourceSelectingEventArgs creation.

You can examine the DataSourceSelectArguments object to determine whether sorting, paging, or a row count are requested as part of the data retrieval operation.

Data-bound controls use the DataSourceSelectArguments class to request that the SqlDataSource perform additional data-related operations on a result set, such as sorting the data or returning a specific subset of data. These data-related operations are enumerated by the DataSourceCapabilities enumeration. For more information, see DataSourceSelectArguments.

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

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

.NET Framework

Supported in: 2.0