Remove rows from CSV files

K

kr_amitso

I need to remove top 3 files from csv files before reading csv file.

please give me link or peace of code for removing the rows from csv
file.


Thanks,
Amit
 
A

Alberto Poblacion

I need to remove top 3 files from csv files before reading csv file.

please give me link or peace of code for removing the rows from csv
file.

How are you reading the file? If you are using a StreamReader, just
execute the ReadLine() method on your StreamReader three times before you
start processing the rest of the file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top