Redigera

Dela via


SqlDataSourceSelectingEventArgs.Arguments Property

Definition

Gets the DataSourceSelectArguments object passed to the Select(DataSourceSelectArguments) method.

public:
 property System::Web::UI::DataSourceSelectArguments ^ Arguments { System::Web::UI::DataSourceSelectArguments ^ get(); };
public System.Web.UI.DataSourceSelectArguments Arguments { get; }
member this.Arguments : System.Web.UI.DataSourceSelectArguments
Public ReadOnly Property Arguments As DataSourceSelectArguments

Property Value

A DataSourceSelectArguments object, or null if no DataSourceSelectArguments object is specified during SqlDataSourceSelectingEventArgs creation.

Remarks

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.

Applies to

See also