GridView.CreateDataSourceSelectArguments Method

Definition

Creates the DataSourceSelectArguments object that contains the arguments that get passed to the data source for processing.

protected:
 override System::Web::UI::DataSourceSelectArguments ^ CreateDataSourceSelectArguments();
protected override System.Web.UI.DataSourceSelectArguments CreateDataSourceSelectArguments ();
override this.CreateDataSourceSelectArguments : unit -> System.Web.UI.DataSourceSelectArguments
Protected Overrides Function CreateDataSourceSelectArguments () As DataSourceSelectArguments

Returns

A DataSourceSelectArguments that contains the arguments that get passed to the data source.

Remarks

The CreateDataSourceSelectArguments method is a helper method called by the GridView control to create the DataSourceSelectArguments object that contains the arguments passed to the data source. In this implementation, the DataSourceSelectArguments object contains the arguments for paging operations.

Notes to Inheritors

When extending the GridView class, you can override this method to specify your own values that are passed to the data source.

Applies to

See also