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 Overridable ReadOnly Property PageCount As Integer

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: