Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SetModelDataColumn Method
Model column index
Name of the data source column
Example


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

    Parameters

    column
    Model column index
    columnName
    Name of the data source column
    Example
    This example illustrates the use of this member by setting the column to bind to the data source field.
    See Also