Read Excel 2007 file (.xlsx) in C#

Posted by Safiullah on Stack Overflow See other posts from Stack Overflow or by Safiullah
Published on 2010-05-26T09:54:09Z Indexed on 2010/05/26 10:01 UTC
Read the original article Hit count: 253

Filed under:
|
|
|

My code was quite sufficient for reading xls file in C# (using Microsoft.Jet.Oledb.4.0) but when I tried to read Office 2007 (xlsx) file, it didn't work. I searched and found that it could be read using Microsoft.ACE.Oledb.12, I tried and it worked. Can anyone tell me the difference between the two ? and why xlsx file can not be read using Microsoft.Jet.Oledb.4.0 Provider.

© Stack Overflow or respective owner

Related posts about c#

Related posts about excel