簡體   English   中英

如何在C#中逐塊分析大型源文件時跳過數據的第一列

[英]How to skip first column of data's while parsing chunk by chunk large source file in C#

使用的參考鏈接: http : //www.codeproject.com/Articles/543789/How-to-parse-chunk-by-chunk-a-large-CSV-file-and-b

我需要跳過第一列和大型源文件中存在的列1的數據集,僅從第二列進行解析。

我是這個C#和Sql的新手

代碼存在於給定的鏈接中。

感謝幫助

sr.ReadLine(); // add this line
while ((line = sr.ReadLine()) != null)
{

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM