GridView.CreateDataSourceSelectArguments Method

Definition

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

C#
protected override System.Web.UI.DataSourceSelectArguments CreateDataSourceSelectArguments();

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also