I am reading the contents of an excel sheet in my application using:
OleDbConnection con = new OleDbConnection(\"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\"
Forget it, use these dll from codeplex that solve this problem. http://exceldatareader.codeplex.com/