Export (0) Print
Expand All
Expand Minimize

DetailsView.PageCount Property

Gets the number of records in the data source.

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

[BrowsableAttribute(false)]
public virtual int PageCount { get; }

Property Value

Type: System.Int32
The number of records in the data source.

If the DataSource property is null, 0 is returned.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft