Cells.ExportDataTableAsString
Contents
[
Hide
]ExportDataTableAsString(int, int, int, int)
Exports data in the Cells
collection to a DataTable object.
public DataTable ExportDataTableAsString(int firstRow, int firstColumn, int totalRows,
int totalColumns)
Parameter | Type | Description |
---|---|---|
firstRow | Int32 | The row number of the first cell to export out. |
firstColumn | Int32 | The column number of the first cell to export out. |
totalRows | Int32 | Number of rows to be imported. |
totalColumns | Int32 | Number of columns to be imported. |
Return Value
Exported DataTable object.
Remarks
All data in the Cells
collection are converted to strings.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells
ExportDataTableAsString(int, int, int, int, bool)
Exports data in the Cells
collection to a DataTable object.
public DataTable ExportDataTableAsString(int firstRow, int firstColumn, int totalRows,
int totalColumns, bool exportColumnName)
Parameter | Type | Description |
---|---|---|
firstRow | Int32 | The row number of the first cell to export out. |
firstColumn | Int32 | The column number of the first cell to export out. |
totalRows | Int32 | Number of rows to be imported. |
totalColumns | Int32 | Number of columns to be imported. |
exportColumnName | Boolean | Indicates whether the data in the first row are exported to the column name of the DataTable. |
Return Value
Exported DataTable object.
Remarks
All data in the Cells
collection are converted to strings.
See Also
- class Cells
- namespace Aspose.Cells
- assembly Aspose.Cells