ImportCSV
内容
[
隐藏
]ImportCSV(string, string, bool, int, int)
将 CSV 文件导入单元格。
public void ImportCSV(string fileName, string splitter, bool convertNumericData, int firstRow,
int firstColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | CSV 文件名。 |
| splitter | String | 分离器 |
| convertNumericData | Boolean | 文本文件中的字符串是否转换为数值数据。 |
| firstRow | Int32 | 要导入的第一个单元格的行号。 |
| firstColumn | Int32 | 要导入的第一个单元格的列号。 |
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
ImportCSV(Stream, string, bool, int, int)
将 CSV 文件导入单元格。
public void ImportCSV(Stream stream, string splitter, bool convertNumericData, int firstRow,
int firstColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| stream | Stream | CSV 文件流。 |
| splitter | String | 分离器 |
| convertNumericData | Boolean | 文本文件中的字符串是否转换为数值数据。 |
| firstRow | Int32 | 要导入的第一个单元格的行号。 |
| firstColumn | Int32 | 要导入的第一个单元格的列号。 |
也可以看看
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
ImportCSV(string, TxtLoadOptions, int, int)
将 CSV 文件导入单元格。
public void ImportCSV(string fileName, TxtLoadOptions options, int firstRow, int firstColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| fileName | String | CSV 文件名。 |
| options | TxtLoadOptions | 读取文本文件的加载选项 |
| firstRow | Int32 | 要导入的第一个单元格的行号。 |
| firstColumn | Int32 | 要导入的第一个单元格的列号。 |
也可以看看
- class TxtLoadOptions
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells
ImportCSV(Stream, TxtLoadOptions, int, int)
将 CSV 文件导入单元格。
public void ImportCSV(Stream stream, TxtLoadOptions options, int firstRow, int firstColumn)
| 范围 | 类型 | 描述 |
|---|---|---|
| stream | Stream | CSV 文件流。 |
| options | TxtLoadOptions | 读取文本文件的加载选项 |
| firstRow | Int32 | 要导入的第一个单元格的行号。 |
| firstColumn | Int32 | 要导入的第一个单元格的列号。 |
也可以看看
- class TxtLoadOptions
- class Cells
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells