Retrieving Information From Excel 2007 Files

Ever needed a sample code to programmatically extract data from Excel 2007 table?   Given an excel table like this (in book1.xlsx):   Name ID Color Ball 1 White Phone 2 Green Cup 3 Yellow     Here’s a function to retrieve the contents of the table:   /// <summary> /// Retrieves an excel table…

4