Spread for ASP.NET 11 Product Documentation
GetRowIndex Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GetRowIndex Method
Returns the client row index for the specified row.
Syntax
'Declaration
 
Public Function GetRowIndex( _
   ByVal pageIndex As Integer, _
   ByVal row As Integer _
) As Integer
'Usage
 
Dim instance As FpSpread
Dim pageIndex As Integer
Dim row As Integer
Dim value As Integer
 
value = instance.GetRowIndex(pageIndex, row)
public int GetRowIndex( 
   int pageIndex,
   int row
)

Parameters

pageIndex
row
Example
This example uses the GetRowIndex method.
FpSpread1.Sheets[0].RowCount = 30;
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString());
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString());
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString());
FpSpread1.Sheets(0).RowCount = 30
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString())
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString())
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString())
See Also

Reference

FpSpread Class
FpSpread Members