title: Microsoft Access Database Engine 2010 or Microsoft Access Database Engine 2016 in order to read Excel files?
body: <p>I try to read Excel files using C#.<br>
  Which one should I install in order to make work this line  of code:</p>
  <pre><code>string con = &quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source=&quot; 
                + path + &quot;;Extended Properties=Excel 12.0;&quot;;
  </code></pre>
  <ul>
  <li>Microsoft Access Database Engine 2010 or</li>
  <li>Microsoft Access Database Engine 2016</li>
  </ul>
  <p>Or is there another way to read Excel files without the need of installing external programs?</p>