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


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

    Parameters

    column
    Data source column index to be converted

    Return Value

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