CreateDataSourceSelectArguments Method
Collapse the table of content
Expand the table of content

ListView.CreateDataSourceSelectArguments Method ()


Creates the DataSourceSelectArguments object that contains the arguments that are passed to the data source.

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

protected override DataSourceSelectArguments CreateDataSourceSelectArguments()

Return Value

Type: System.Web.UI.DataSourceSelectArguments

The arguments that are passed to the data source.

The CreateDataSourceSelectArguments method is a helper method that is called by the ListView control. In this implementation, the DataSourceSelectArguments object contains the arguments for paging operations.

Notes to Inheritors:

When you extend the ListView class, you can override this method and specify custom values that are passed to the data source.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft