1

I am reading Excel file using LinqToExcel:

var Excel = new ExcelQueryFactory(Filename);

Excel.databaseEngine = DatabaseEngine.Ace;

Excel.strictMapping = true;

I want to exclude certain columns, to prevent the strict mapping feature from throwing an exception for those columns.

WonderWorker
  • 8,539
  • 4
  • 63
  • 74
Gaurav Moolani
  • 342
  • 1
  • 3
  • 12

1 Answers1

3

What if you set StrictMapping to false? Will that work for you?

Paul
  • 18,349
  • 7
  • 49
  • 56