I have a file that contains a few tables on one worksheet. How do I get data from a particular table using EPPlus? thanks a lot
I looked through samples and questions on stackoverflow
You can reference tables by index or by name using this:
var x = new OfficeOpenXml.ExcelPackage(new FileInfo(@"c:\FooFolder\Bin_Template.xlsx"));
var table = x.Workbook.Worksheets[1].Tables["Table1"];