开发者

Create an Excel Spreadsheet (XSLX) in C# -- server side

开发者 https://www.devze.com 2023-02-17 05:31 出处:网络
So, this question has been asked before, but wait -- it\'s not a duplicate! (at least I don\'t think so).

So, this question has been asked before, but wait -- it's not a duplicate! (at least I don't think so).

I need to create Excel files (xlsx files). The library must be suitable to run on a server, it must be 64-bit capable,

and I have to be able to distribute it with a closed-source (for profit) product.

I had been hoping to use ExcelPackage on CodePlex, but it's published under GPL, and as nearly as I can tell, without the "component library exception", so I'm pretty sure that means I can't use it.

Can anyone recommend a good, server开发者_JS百科-compatible, 64-bit library that I can use in my closed-source app?


I have used GemBox.Spreadsheet in a 64bit environment(and am still using it). http://www.gemboxsoftware.com/GBSpreadsheet.htm

It's pretty fast, easy to use and when we purchased it it was the cheapest one to do it. Have not checked the prices afterwards.

It has royalty free deployment.

ps: your question only says c#, I have used it with c# on asp.net, iis6 and iis7


I have always cheated using html. Just output it as an xslx and excel will handle the conversion.

<html>
 <body>
  <table>
     <tr><td> cell A1</td><td> cell B1</td></tr>
     <tr><td> cell A2</td><td> cell B2</td></tr>
  </table>
 </body>   
</html>

As mentioned above I have used Aspose Cells and it has worked well in 64bit Aspose Cells

0

精彩评论

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