Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / IDataSourceSupport Interface / GetModelRowFromDataRow Method
Data source row index to be converted
Example


In This Topic
    GetModelRowFromDataRow Method (IDataSourceSupport)
    In This Topic
    Converts the data source row index to the model row index.
    Syntax
    'Declaration
     
    Function GetModelRowFromDataRow( _
       ByVal row As Integer _
    ) As Integer
    'Usage
     
    Dim instance As IDataSourceSupport
    Dim row As Integer
    Dim value As Integer
     
    value = instance.GetModelRowFromDataRow(row)
    int GetModelRowFromDataRow( 
       int row
    )

    Parameters

    row
    Data source row index to be converted

    Return Value

    Integer index of the row in the model
    Example
    This example binds the model to a data set.
    See Also