Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
is there anyway to import and detect data with strinkthrough word?

i was googling for several hour and found that the OLEDB cannot detect that because it query out like a whole

datatable and with Interop is slow is there any another way to do that ? Please suggest

Thank
Posted

1 solution

Sure. The better alternative could be not using Excel at all. Instead, you can use Microsoft Open XML SDK. Please see my past answers:
Microsot office Interop[^],
How to add microsoft excel 15.0 object library from Add Reference in MS Visual Studio 2010[^].

See also this CodeProject article: Creating basic Excel workbook with Open XML[^].

Note that Microsoft warned against using Office interop in certain situations, such as server-side Web development:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2[^],
http://support.microsoft.com/kb/257757/en-us[^].

—SA
 
Share this answer
 
Comments
Real_Criffer 19-May-15 2:36am    
interop take too long to process . will try to see an other one thank you Sir.
Sergey Alexandrovich Kryukov 19-May-15 8:03am    
You are welcome. I really don't think using Interop would make sense.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900