ImportDataGrid
内容
[
隐藏
]ImportDataGrid(DataGrid, int, int, bool)
导入一个DataGrid进入工作表.
public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, bool insertRows)
范围 | 类型 | 描述 |
---|---|---|
dataGrid | DataGrid | 这DataGrid要导入的对象。 |
firstRow | Int32 | 要导入的第一个单元格的行号。 |
firstColumn | Int32 | 要导入的第一个单元格的列号。 |
insertRows | Boolean | 指示是否添加额外的行以适应数据。 |
返回值
导入的总行数
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
ImportDataGrid(DataGrid, int, int, int, int, bool)
导入一个DataGrid进入工作表.
public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, int totalRows,
int totalColumns, bool insertRows)
范围 | 类型 | 描述 |
---|---|---|
dataGrid | DataGrid | 这DataGrid要导入的对象。 |
firstRow | Int32 | 要导入的第一个单元格的行号。 |
firstColumn | Int32 | 要导入的第一个单元格的列号。 |
totalRows | Int32 | 要导入的行数。 |
totalColumns | Int32 | 要导入的列数。 |
insertRows | Boolean | 指示是否添加额外的行以适应数据。 |
返回值
导入的总行数
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
ImportDataGrid(DataGrid, int, int, int, int, bool, bool)
导入一个DataGrid进入工作表.
public int ImportDataGrid(DataGrid dataGrid, int firstRow, int firstColumn, int totalRows,
int totalColumns, bool insertRows, bool importStyle)
范围 | 类型 | 描述 |
---|---|---|
dataGrid | DataGrid | 这DataGrid要导入的对象。 |
firstRow | Int32 | 要导入的第一个单元格的行号。 |
firstColumn | Int32 | 要导入的第一个单元格的列号。 |
totalRows | Int32 | 要导入的行数。 |
totalColumns | Int32 | 要导入的列数。 |
insertRows | Boolean | 指示是否添加额外的行以适应数据。 |
importStyle | Boolean | 指示是否导入单元格样式。 |
返回值
导入的总行数
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells