PagedDataSource::PageCount Property
.NET Framework (current version)
Gets the total number of pages necessary to display all items in the data source.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Int32The number of pages necessary to display all items in the data source.
Use the PageCount property to determine the number of pages necessary to display all items in the data source.
Note |
|---|
If the DataSource property is null, 0 is returned. If the IsPagingEnabled property is set to false or the DataSourceCount property is set to 0 or less, 1 is returned. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
