NPOIHelperExport Method (DataTable, String, String) | Helper帮助文档 |
DataTable导出到Excel文件
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Export( DataTable dtSource, string strHeaderText, string strFileName )
Public Shared Sub Export ( dtSource As DataTable, strHeaderText As String, strFileName As String )
public: static void Export( DataTable^ dtSource, String^ strHeaderText, String^ strFileName )
static member Export : dtSource : DataTable * strHeaderText : string * strFileName : string -> unit
Parameters
- dtSource
- Type: System.DataDataTable
源DataTable - strHeaderText
- Type: SystemString
表头文本 - strFileName
- Type: SystemString
保存位置
See Also