Spread for ASP.NET 12 Product Documentation
DefaultSheetDataModel Constructor(DataSet,String)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetDataModel Class > DefaultSheetDataModel Constructor : DefaultSheetDataModel Constructor(DataSet,String)
Data source to be used for this model
Data table name
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

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members
Overload List