donnytian / Npoi.Mapper

Use this tool to import or export data with Excel file. The tool is a convention based mapper between strong typed object and Excel data via NPOI.
MIT License
601 stars 115 forks source link

请问支持导出合并单元格的EXCEL么? #79

Closed nextuntil closed 3 years ago

nextuntil commented 3 years ago

如题。

donnytian commented 3 years ago

In order to export data in a merged cell, either pass in a pre-formatted workbook(with desired merged cells) for mapper's constructor, or use NPOI API to format mapper.Workbook after you Put() the data.

nextuntil commented 3 years ago

In order to export data in a merged cell, either pass in a pre-formatted workbook(with desired merged cells) for mapper's constructor, or use NPOI API to format mapper.Workbook after you Put() the data.

3Q,目前也是自己先处理好合并单元格然后再Put的。