ExcelHelper.OutputToExcel Method (DataTable, ArrayList, String)

HD.Common

ExcelHelperOutputToExcel Method (DataTable, ArrayList, String) Helper帮助文档
将数据导出至Excel文件

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool OutputToExcel(
	DataTable Table,
	ArrayList Columns,
	string ExcelFilePath
)
Public Shared Function OutputToExcel ( 
	Table As DataTable,
	Columns As ArrayList,
	ExcelFilePath As String
) As Boolean
public:
static bool OutputToExcel(
	DataTable^ Table, 
	ArrayList^ Columns, 
	String^ ExcelFilePath
)
static member OutputToExcel : 
        Table : DataTable * 
        Columns : ArrayList * 
        ExcelFilePath : string -> bool 

Parameters

Table
Type: System.DataDataTable
DataTable对象
Columns
Type: System.CollectionsArrayList
要导出的数据列集合
ExcelFilePath
Type: SystemString
Excel文件路径

Return Value

Type: Boolean

[Missing <returns> documentation for "M:HD.Common.ExcelHelper.OutputToExcel(System.Data.DataTable,System.Collections.ArrayList,System.String)"]

See Also

Reference