Read XLXS file import into datatable
I am working on excel file, Read Excel file and import excel file data into datatable. It is working proper in case of XLS even one column value has(Example:TA123,AB678) but when i am using the XLSX extension then read XLXS file that time (Example:TA123,AB678) which rows has this type of code then it is showing blank column.I have already used this connection string:
1. conn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + fileName + ";Extended Properties='Excel 12.0;HDR=YES';";
2. conn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + fileName + ";Extended Properties='Excel 12.0;HDR=YES';IMEX=1\"";
But not woring