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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top