Querying Excel File using ADO.NET

  • Thread starter Thread starter Ann Marinas
  • Start date Start date
A

Ann Marinas

Hi all!

I'm trying to create a program that would extract data from an excel
spreadsheet through System.Data.OleDB.

I was wondering...

1. When creating a query from an excel spreadsheet, do I need to put the
exact sheet name?

2. Is there any possible way of dynamically getting the name of the excel
sheet first before querying it?

Thanks a million!

-A
 
Back
Top