How to parse a CSV file in an ASP.NET website?

后端 未结 3 1698
别那么骄傲
别那么骄傲 2021-01-07 08:35

In my website, I have many CSV files that I need to parse and insert their data into my MySQL database.

How can I parse the CSV in my website programmatically?

3条回答
  •  感情败类
    2021-01-07 09:02

    Here is a pretty good CSV parser. You'll just have to loop through the dataset to put it back into the DB.

    http://www.codeproject.com/KB/database/CsvReader.aspx

提交回复
热议问题