Using the FileHelper library for .Net, can I somehow skip a number of columns from the source file?
According to docs and samples, I have to add fields for all columns. Alas, I have an excel sheet with 216 columns to import, from which as few as 13 are necessary.
Best Solution
I have the same situation, and question. Searching the forums at filehelpers.net, I found this thread (from 2007?!) with a response by Marcos himself:
Question:
Response:
So, using the Record Class Wizard to reduce the amount of required typing, and then making unnecessary fields private, looks like the best option at this point.