Perigee provides several easy methods to read Excel files into DataTables or DataSets.
//Get a memory stream of the object to readusingMemoryStreamms=newMemoryStream(File.ReadAllBytes("ExcelFile.xlsx"));//Read "DataSheet"var DT =ExcelReader.ReadDataTable(ms,"DataSheet",outDynamicDataTable ddt, TrimCells:true);//Read two sheets, and return the data setvar dataSet =ExcelReader.ReadDataSet(ms,newList<string>() { "DataSheet","Lookup" });