ImportFromDataGridViewOptions Class
Represents options for importing data from System.Windows.Forms.DataGridView to ExcelWorksheet.
public sealed class ImportFromDataGridViewOptionsPublic NotInheritable Class ImportFromDataGridViewOptions- Inheritance:
- System.ObjectImportFromDataGridViewOptions
Constructors
ImportFromDataGridViewOptions()
Initializes an instance of ImportFromDataGridViewOptions class.
ImportFromDataGridViewOptions(Int32, Int32)
Initializes an instance of ImportFromDataGridViewOptions class.
public ImportFromDataGridViewOptions(int startRow, int startColumn)Public Sub New(startRow As Integer, startColumn As Integer)Parameters
startRow- System.Int32
Index of the first row of imported data in ExcelWorksheet.
startColumn- System.Int32
Index of the first column of imported data in ExcelWorksheet.
ImportFromDataGridViewOptions(String)
Initializes an instance of ImportFromDataGridViewOptions class.
Parameters
startCell- System.String
Name of the first (top left) cell of imported data in ExcelWorksheet.
Properties
ColumnHeaders
Gets or sets a value indicating whether to import column headers into first row.
Property Value
- System.Boolean
StartColumn
Gets or sets the index of the first column of imported data in ExcelWorksheet.
Property Value
- System.Int32
StartRow
Gets or sets the index of the first row of imported data in ExcelWorksheet.
Property Value
- System.Int32