Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetModelRowFromDataRow Method
Row index of data source
Example


In This Topic
    GetModelRowFromDataRow Method (DefaultSheetDataModel)
    In This Topic
    Gets the row in the model for the specified data source row.
    Syntax
    'Declaration
     
    
    Public Function GetModelRowFromDataRow( _
       ByVal row As Integer _
    ) As Integer
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim value As Integer
     
    value = instance.GetModelRowFromDataRow(row)
    public int GetModelRowFromDataRow( 
       int row
    )

    Parameters

    row
    Row index of data source

    Return Value

    Integer index of the row in the model
    Example
    This example returns the row in the model for the specified data source row.
    See Also