eba
eba

Reputation: 673

.net - excel to html without excel installed

i'm creating excel files, by NPOI library from codeplex. how can i convert this excel files to html? can not call interop and etc.

Upvotes: 0

Views: 820

Answers (2)

Fredrik Mörk
Fredrik Mörk

Reputation: 158309

A couple of years ago I was in a project where we had

  • the need to parse Excel files
  • the need to update and create Excel files (for download)
  • an environment that did now allow Excel to be installed on the server

We ended up using GemBox Spreadsheet, which worked out really well (I think I have recommended it before here on SO). The API corresponds to the API from Office quite well, it's a managed library, and it showed very good performance. It comes with a price tag, but if you are in some sort of commercial project, that might not be a big issue.

Upvotes: 1

matthias.lukaszek
matthias.lukaszek

Reputation: 2220

For the new Excel formats you can use the OpenXML SDK. You can then handle all kinds of Office OpenXML files including Excel. For the older .xls format you can use other third party libraries, e.g. OpenOffice.org SDK.

Upvotes: 1

Related Questions