Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to read .tsv file using asp.net

Tags:

c#

Hey all I have searched the web but couldn't find any solution to my problem. My problem is how to read a .tsv file using asp.net (C#). I am getting results for .csv only.

Is it the same like reading .csv file?

like image 545
Deepak D Avatar asked Dec 16 '25 17:12

Deepak D


2 Answers

File handling Follow this guide, on dotnetperls.

line.Split(',');

you want

line.Split('\t');
like image 121
Daniel Lane Avatar answered Dec 19 '25 10:12

Daniel Lane


  • CsvHelper
  • FileHelpers
    This libraries can help you.
like image 39
Denis Avatar answered Dec 19 '25 09:12

Denis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!