You can use Office automation (which is free) but for decent performance and independence from specific versions of Office it might be easier to use one of the 3rd party .NET components that bypass Office and handle the .xls file directly.
I have used the Excel export component and achieved astonishing improvements in performance. I haven't actually tried the Excel reader component but if it's anything like the quality of the export component it will be excellent.
If you use Excel directly you will need to add a reference to the Officexx (11 for 2003?) COM component and then instantiate an Excel application object.
The Excel object model is not easy to follow if you've never used it before and it's too complex to describe in any detail. The key object you will need to understand is the Range object.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.