Worksheet.ImportDataTable
Worksheet.ImportDataTable method
Imports a DataTable object into a worksheet.
public int ImportDataTable(DataTable dataTable, bool isFieldNameShown, int firstRow,
int firstColumn)
Parameter | Type | Description |
---|---|---|
dataTable | DataTable | The DataTable object to be imported. |
isFieldNameShown | Boolean | Indicates whether the field name of the datatable will be imported to the first row. |
firstRow | Int32 | The row number of the first cell to import. |
firstColumn | Int32 | The column number of the first cell to import. |
Return Value
Total number of rows imported.
See Also
- class Worksheet
- namespace Aspose.Cells.GridDesktop
- assembly Aspose.Cells.GridDesktop