CsvHelper.CsvToDt Method

HD.Common

CsvHelperCsvToDt Method Helper帮助文档
将Csv读入DataTable

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

public static DataTable CsvToDt(
	string filePath,
	int n
)
Public Shared Function CsvToDt ( 
	filePath As String,
	n As Integer
) As DataTable
public:
static DataTable^ CsvToDt(
	String^ filePath, 
	int n
)
static member CsvToDt : 
        filePath : string * 
        n : int -> DataTable 

Parameters

filePath
Type: SystemString
csv文件路径
n
Type: SystemInt32
表示第n行是字段title,第n+1行是记录开始

Return Value

Type: DataTable

[Missing <returns> documentation for "M:HD.Common.CsvHelper.CsvToDt(System.String,System.Int32)"]

See Also

Reference