ExcelHelper Class | Helper帮助文档 |
Excel操作类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class ExcelHelper
Public Class ExcelHelper
public ref class ExcelHelper
type ExcelHelper = class end
The ExcelHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExcelHelper | Initializes a new instance of the ExcelHelper class |
Methods
Name | Description | |
---|---|---|
DataTable1Excel | ||
DataTable2Excel |
导出Excel文件,转换为可读模式
| |
DataTable3Excel |
导出Excel文件,并自定义文件名
| |
Equals | (Inherited from Object.) | |
ExportData |
导出Excel
| |
Finalize | (Inherited from Object.) | |
GetExcelTableColumns |
获取Excel文件指定数据表的数据列表
| |
GetExcelTables |
获取Excel文件数据表列表
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InputFromExcel |
将Excel文件导出至DataTable(第一行作为表头)
| |
MemberwiseClone | (Inherited from Object.) | |
OutputToExcel(DataTable, String) |
将数据导出至Excel文件
| |
OutputToExcel(DataTable, ArrayList, String) |
将数据导出至Excel文件
| |
ToString | (Inherited from Object.) |
See Also