Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetModelColumnFromDataColumn Method
Index of the column in the data source
Example


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

    Parameters

    datacolumn
    Index of the column in the data source

    Return Value

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