Spread for ASP.NET 11 Product Documentation
CurrentPage Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : CurrentPage Property
Gets or sets the current page.
Syntax
'Declaration
 
Public Property CurrentPage As Integer
'Usage
 
Dim instance As FpSpread
Dim value As Integer
 
instance.CurrentPage = value
 
value = instance.CurrentPage
public int CurrentPage {get; set;}

Property Value

Integer number of the page
Example
This example sets the current page.
FpSpread1.Sheets[0].RowCount = 20;
FpSpread1.Sheets[0].PageSize = 5;
FpSpread1.CurrentPage = 2;  
FpSpread1.Sheets(0).RowCount = 20
FpSpread1.Sheets(0).PageSize = 5
FpSpread1.CurrentPage = 2 
See Also

Reference

FpSpread Class
FpSpread Members

User-Task Documentation

Customizing the Page Size (Rows to Display)
Customizing Page Navigation