C
C#14mo ago
schwartzmj

❔ Package recommendations for importing Excel/CSV and mapping columns to EF Core models

For a project we need to implement a CSV and/or Excel import. I'm thinking we'd look at the columns provided in the uploaded document and "guess" which columns in the import should map to columns in the table (e.g. compare strings ignoring case), and allow the user to map columns for ones that do not match. Any recommended packages for something like this? Thank you!
2 Replies
jcotton42
jcotton4214mo ago
CsvHelper for CSV ClosedXML or EPPlus for Excel workbooks
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.