Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Error: External table is not in the expected format when read file Excel .xls

$
0
0

Hi everyone,

I am trying to read an excel file (.xls) by using this connection string:

ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0;" +
                                                       "Data Source = " + FileName + ";" +
                                                       "Extended Properties = Excel 8.0;";

It is successful with almost .xls files, but I only got the error: External table is not in the expected format    when trying to read the attached file (.xls). (I also try to save this file as Excel 97 -2003, but still not successful).

Could you please help me check it?

https://www.mediafire.com/?7571x7z8zttns8p

Thanks and regards,

Tai


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>