System.Web.UI.WebControls.DetailsView.PageCount Property

Gets the number of records in the data source.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public virtual int PageCount { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the BaseDataBoundControl.DataSource property is null, 0 is returned.

Requirements

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