Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetDataModel Class / SetModelDataColumn Method / SetModelDataColumn(Int32,String) Method
Index of column in the model
Name of the data source column


In This Topic
    SetModelDataColumn(Int32,String) Method
    In This Topic
    Binds a model column to a specified data source column.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetModelDataColumn( _
       ByVal column As Integer, _
       ByVal columnName As String _
    ) 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim column As Integer
    Dim columnName As String
     
    instance.SetModelDataColumn(column, columnName)
    public void SetModelDataColumn( 
       int column,
       string columnName
    )

    Parameters

    column
    Index of column in the model
    columnName
    Name of the data source column
    See Also