| |||||||||||||||||
DataGrid.PageSize PropertySystem.Web.UI.WebControls Namespace DataGrid Class Sets or retrieves the number of items to display on a single page of the DataGrid control. Syntax
Property Value
The property is read/write with a default value of 10. Exceptions
RemarksUse this property to specify the number of items to display on a single page of the DataGrid control. The AllowPaging property must be set to true for this property have any effect. ExampleThe following example demonstrates how to programmatically set the PageSize property to specify how many items are displayed on a single page of the DataGrid control at run time, based on user input.
See AlsoDataGrid Members AllowPaging AllowCustomPaging PageCount 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