开发者

.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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜