My code was enough to read the xls file in C # (using Microsoft.Jet.Oledb.4.0), but when I tried to read the Office 2007 file (xlsx), it did not work. I searched and found that it can be read using Microsoft.ACE.Oledb.12, I tried and it worked. Can someone tell me the difference between the two? and why the xlsx file cannot be read using the Microsoft.Jet.Oledb.4.0 provider.
source
share