ImportDataGridAsString
Cells.ImportDataGridAsString method
导入一个DataGrid到工作表中。此方法不会尝试将文本转换为数值。
public int ImportDataGridAsString(DataGrid dataGrid, int firstRow, int firstColumn, bool insertRows)
范围 | 类型 | 描述 |
---|---|---|
dataGrid | DataGrid | 这DataGrid要导入的对象。 |
firstRow | Int32 | 要导入的第一个单元格的行号。 |
firstColumn | Int32 | 要导入的第一个单元格的列号。 |
insertRows | Boolean | 指示是否添加额外的行以适应数据。 |
返回值
导入的总行数
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells