Best way to parse a Excel spreadsheet with C#?

I've been using Microsoft.Jet.OLEDB.4.0 to parse spreadsheets for a while with no problems but i recently ran into an issue that will no longer allow me to use this method.  What is the best way to parse an Excel (NOT a csv) using .NET?  I am using Visual Studio 2008.
abemiesterAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ShannonECommented:
1 thing to note:
In the 1st link they only mention retrieving a String value from one of the cells.  If it's a number you want, you'll need to cast value2, so

Console.WriteLine(excelCell2.Cells.Value2.ToString()); //Print the value of the cell for a single cell selection

becomes something like:

double val = (double)excelCell2.Cells.Value2
anarki_jimbelSenior DeveloperCommented:
If you have tables in Excel and need to work with the data probably the best way is to load the data into a dataset.
I used this quite often.

Have a look:
http://www.codeproject.com/KB/dotnet/ExportExcelData.aspx

Quite many links of this sort.
abemiesterAuthor Commented:
Hey Shannon,
I tried that first link but VS is unable to find Excel.ApplicationClass().  Have you successfully tried this your self?  If so which version of the COM assembly for Excel did you include?
ShannonECommented:
I'm using the "Microsoft Excel 11.0 Object Library"

Also, make sure to add:

using Excel = Microsoft.Office.Interop.Excel;

to the section with your using directives

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.