External table is not in the expected format.
OleDbConnection _con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + ExcelFileName + ";Extended Properties=Excel 12.0 Xml;");
OleDbConnection _con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + ExcelFileName + ";Extended Properties=\"Excel 12.0 Xml;HDR=YES;IMEX=1\";");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)