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
Available since 2.0
Return to top
Show: