Reading CSV files using C#

后端 未结 12 2515
野的像风
野的像风 2020-11-21 22:49

I\'m writing a simple import application and need to read a CSV file, show result in a DataGrid and show corrupted lines of the CSV file in another grid. For ex

12条回答
  •  攒了一身酷
    2020-11-21 23:40

    I recommend CsvHelper from Nuget.

    (Adding a reference to Microsoft.VisualBasic just doesn't feel right, it's not only ugly, it's probably not even cross-platform.)

提交回复
热议问题