ObjectDataSourceView.CanPage 属性

定义

获取一个值,该值指示与当前的 ObjectDataSourceView 控件关联的 ObjectDataSource 对象是否支持对检索的数据分页。Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports paging through the retrieved data.

public:
 virtual property bool CanPage { bool get(); };
public override bool CanPage { get; }
member this.CanPage : bool
Public Overrides ReadOnly Property CanPage As Boolean

属性值

如果 EnablePaging 值设置为 true,则为 true;否则为 falsetrue, if the EnablePaging value is set to true; otherwise, false.

注解

属性指示ObjectDataSourceView对象是否支持分页。 CanPageThe CanPage property indicates whether the ObjectDataSourceView object supports paging. 有关如何支持ObjectDataSourceView分页的信息, 请参阅EnablePagingFor information on how paging is supported by the ObjectDataSourceView, see EnablePaging.

适用于

另请参阅