Spread ASP.NET 6.0 Product Documentation
GetRowIndex Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GetRowIndex Method


pageIndex
row

Glossary Item Box

Returns the client row index for the specified row.

Syntax

Visual Basic (Declaration) 
Public Function GetRowIndex( _
   ByVal pageIndex As Integer, _
   ByVal row As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim pageIndex As Integer
Dim row As Integer
Dim value As Integer
 
value = instance.GetRowIndex(pageIndex, row)
C# 
public int GetRowIndex( 
   int pageIndex,
   int row
)

Parameters

pageIndex
row

Example

This example uses the GetRowIndex method.
C#Copy Code
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());
Visual BasicCopy Code
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())

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.