ExportDataTableAsString

ExportDataTableAsString(int, int, int, int)

导出数据Cells收集到DataTable对象.

public DataTable ExportDataTableAsString(int firstRow, int firstColumn, int totalRows, 
    int totalColumns)
范围类型描述
firstRowInt32要导出的第一个单元格的行号。
firstColumnInt32要导出的第一个单元格的列号。
totalRowsInt32要导入的行数。
totalColumnsInt32要导入的列数。

返回值

出口DataTable目的。

评论

中的所有数据Cells集合被转换为字符串。

也可以看看


ExportDataTableAsString(int, int, int, int, bool)

导出数据Cells收集到DataTable对象.

public DataTable ExportDataTableAsString(int firstRow, int firstColumn, int totalRows, 
    int totalColumns, bool exportColumnName)
范围类型描述
firstRowInt32要导出的第一个单元格的行号。
firstColumnInt32要导出的第一个单元格的列号。
totalRowsInt32要导入的行数。
totalColumnsInt32要导入的列数。
exportColumnNameBoolean指示是否将第一行中的数据导出到 DataTable 的列名。

返回值

出口DataTable目的。

评论

中的所有数据Cells集合被转换为字符串。

也可以看看