Handling commas within quotes when exporting a CSV file C#4.Any suggestions

前端 未结 2 575
离开以前
离开以前 2020-12-21 13:58

Hi all I am reading a csv file and I have encounted a problem when there is a comma inside the field

It all works till I get a comma within a comma all the fields wi

2条回答
  •  猫巷女王i
    2020-12-21 14:46

    Since 3rd party libraries are out, a few choices (there are probably others):

    • write a quote-aware CSV reader yourself
    • use ODBC - see the last page here

提交回复
热议问题