简体   繁体   English

如何在C#中逐块分析大型源文件时跳过数据的第一列

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

Reference Link used: http://www.codeproject.com/Articles/543789/How-to-parse-chunk-by-chunk-a-large-CSV-file-and-b 使用的参考链接: http : //www.codeproject.com/Articles/543789/How-to-parse-chunk-by-chunk-a-large-CSV-file-and-b

I need to skip the first column and the datasets of column 1 present in a large source file and parse only from column two. 我需要跳过第一列和大型源文件中存在的列1的数据集,仅从第二列进行解析。

I am new to this c# and Sql 我是这个C#和Sql的新手

Code is present in the given link. 代码存在于给定的链接中。

Help appreciated 感谢帮助

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM