I am reading data from a large excel
file which has got formatted texts. I extract the data to DataTable
object through oleDBConnection
& GetOleDbSchemaTable
. But the extracted data doesn't include any formatted information.
My requirement is, I need to extract only non-Strikethrough texts.
I don't have any issues while reading and everything is perfectly fine. But my extraction should be based on text format in excel
which I am unable to find the solution.
Anything to be added in the connectionString
which is as follows:
connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + fileName + "; Extended Properties=\"Excel 12.0 Xml;HDR=YES;Mode=Read;ReadOnly=True;\"";
Constraints:
Using OleDBConnection - No Interop
Reading to DataTable Object