Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetDataModel Class / DefaultSheetDataModel Constructor / DefaultSheetDataModel Constructor(DataSet,String)
Data source to be used for this model
Data table name


In This Topic
    DefaultSheetDataModel Constructor(DataSet,String)
    In This Topic
    Creates a default data model with the specified data set.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dataSource As DataSet, _
       ByVal dataMember As String _
    )
    'Usage
     
    
    Dim dataSource As DataSet
    Dim dataMember As String
     
    Dim instance As New DefaultSheetDataModel(dataSource, dataMember)
    public DefaultSheetDataModel( 
       DataSet dataSource,
       string dataMember
    )

    Parameters

    dataSource
    Data source to be used for this model
    dataMember
    Data table name
    See Also