Export
GridCells.Export method
将 WebWorksheet 的 Cells 集合中的数据导出到新的 DataTable 对象
public DataTable Export(int startRow, int startColumn, int rows, int columns,
bool exportColumnName, bool isVertical)
| 范围 | 类型 | 描述 |
|---|---|---|
| startRow | Int32 | 要导出的第一个单元格的行号。 |
| startColumn | Int32 | 要导出的第一个单元格的列号。 |
| rows | Int32 | 要导入的行数。 |
| columns | Int32 | 要导入的列数。 |
| exportColumnName | Boolean | 表示是否将第一行的数据导出为DataTable的列名 |
| isVertical | Boolean | 如果 Excel 文件中的一行代表 DataTable 中的一行,则为真。 如果 Excel 文件中的列代表 DataTable 中的一行,则为 False。 |
返回值
导出的 DataTable 对象。
也可以看看
- class GridCells
- 命名空间 Aspose.Cells.GridWeb.Data
- 部件 Aspose.Cells.GridWeb