Create excel without interop and template with or without row and columnspan

前端 未结 1 1179
北恋
北恋 2020-12-06 23:05

Which dll or library can be used to create the excelsheet which is not of a particular format such that a template can be used in this context. While the rows and columns ma

相关标签:
1条回答
  • 2020-12-06 23:35

    There are several options out there (free and commercial):

    • OpenXML 2.0 from MS (free)
    • EPPlus (free)
    • NPOI (free)
    • Flexcel (commercial)
    • Aspose.Cells (commercial)
    • SpreadsheetGear (commercial)

    Another option (though not really recommended) is to generate a HTML file with specific tags - supported by Excel as per MS documentation http://msdn.microsoft.com/en-us/library/Aa155477%28office.10%29.aspx . For a sample of this including source code see http://www.c-sharpcorner.com/UploadFile/kaushikborah28/79Nick08302007171404PM/79Nick.aspx

    0 讨论(0)
提交回复
热议问题