System.Web.UI.DataSourceView.CanPage Property

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports paging through the data retrieved by the DataSourceView.ExecuteSelect(DataSourceSelectArguments) method.

Syntax

public virtual bool CanPage { get; }

Value

Documentation for this section has not yet been entered.

Remarks

A data-bound control can request paging by adding the DataSourceCapabilities.Page field to the System.Web.UI.DataSourceSelectArguments object passed to the DataSourceView.ExecuteSelect(DataSourceSelectArguments) method. If a data-bound control requests paging, but the DataSourceView.CanPage property returns false, the data source view throws an exception.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0