Spread for ASP.NET 10 Product Documentation
CurrentPage Property
Example 


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 
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members

User-Task Documentation

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

 

 


Copyright © GrapeCity, inc. All rights reserved.