[]
Creates a default data model with zero rows and columns.
public DefaultSheetDataModel()
Public Sub New()
Creates a default data model with the specified number of rows and columns.
public DefaultSheetDataModel(int rowCount, int columnCount)
Public Sub New(rowCount As Integer, columnCount As Integer)
Type | Name | Description |
---|---|---|
int | rowCount | Number of rows in the model |
int | columnCount | Number of columns in the model |
Creates a new DefaultSheetDataModel from the SerializationInfo object.
protected DefaultSheetDataModel(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | SerializationInfo |
StreamingContext | context | StreamingContext |
Creates a default data model with the specified data table.
public DefaultSheetDataModel(DataTable dataSource)
Public Sub New(dataSource As DataTable)
Type | Name | Description |
---|---|---|
DataTable | dataSource | Data source to be used for this model |
Creates a default data model with the specified data set.
public DefaultSheetDataModel(DataSet dataSource)
Public Sub New(dataSource As DataSet)
Type | Name | Description |
---|---|---|
DataSet | dataSource | Data source to be used for this model |
Creates a default data model with the specified data set.
public DefaultSheetDataModel(DataSet dataSource, string dataMember)
Public Sub New(dataSource As DataSet, dataMember As String)
Type | Name | Description |
---|---|---|
DataSet | dataSource | Data source to be used for this model |
string | dataMember | Data table name |
Creates a default data model with the specified data set (IListSource object).
public DefaultSheetDataModel(IListSource dataSource, Type itemType)
Public Sub New(dataSource As IListSource, itemType As Type)
Type | Name | Description |
---|---|---|
IListSource | dataSource | Data source to be used |
Type | itemType | Element type in the data source |
Creates a default data model with the specified data set (IList object).
public DefaultSheetDataModel(IList dataSource, Type itemType)
Public Sub New(dataSource As IList, itemType As Type)
Type | Name | Description |
---|---|---|
IList | dataSource | Data source to be used |
Type | itemType | Element type in the data source |