CSVHelper.DataTableToCSV Method

DCSoft.DBUtilityGeneric

CSVHelperDataTableToCSV Method
datatable输出为csv文件

Namespace: DCSoft.Utility.Utils
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static void DataTableToCSV(
	DataTable dt,
	string FileName
)

Parameters

dt
Type: System.DataDataTable
数据datatable
FileName
Type: SystemString
文件名
See Also