How to read excel 2007 in c#
<p>My server does't have any Microsoft Office and I dont want to install Microsoft office. </p>

<p>When I use this code for reading an Excel 2007 file</p>

<pre><code>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myOldExcelFile.xls;
Extended Properties="Excel 8.0;HDR=YES";
</code></pre>

<p>It cannot read the Excel file. Does anyone know what is wrong?</p>
