I have just had to implement something like this when we switched from OLE DB to the Excel Data Reader to read Excel files in our product. I modified the Excel Data Reader code to make it possible to:
- read a specific worksheet into a data table (instead of reading the entire workbook into a dataset and then retrieving the data table of interest)
-
read a specific cell range from a specific worksheet into a data table