ExcelQueryFactory is part of LinqToExcel.
If you are using LinqToExcel you should ask your question over there.
This package ClosedXML is a totally different package
Here is how you would do it in ClosedXML.
If you are using LinqToExcel you should ask your question over there.
This package ClosedXML is a totally different package
Here is how you would do it in ClosedXML.
// Open the Excel file and get first worksheet
XLWorkbook wb = new XLWorkbook(fileLocation);
IXLWorksheet ws = wb.Worksheet(1);