| |||||
DataGrid.PageCount PropertySystem.Web.UI.WebControls Namespace DataGrid Class Retrieves the total number of pages required to display the items in the DataGrid control. Syntax
This property can only be used programmatically; it cannot be set when declaring the control. Property Value
The property is read only with no default value. RemarksUse this property to programmatically determine the number of pages required to display the items in the DataGrid control. This property is only used when the AllowPaging property is set to true. ExampleThe following example demonstrates how to use the PageCount property to determine the number of pages required to display the items in the DataGrid control. PageCount is <%= myGrid.PageCount %> See AlsoDataGrid Members AllowPaging AllowCustomPaging PageSize PageIndexChanged |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme