How to fill an excel template using ASP.NET, VB or C#?

痞子三分冷 提交于 2019-12-11 07:55:25

问题


I have a an excel file that has been manually populated, and now needs to be automatically populated using ASP.NET, vb or c#. I've been looking around, and have found examples on how to export a gridview, and data to excel sheet, but not anyway to maintain the format of the original template. I've recently populated a word document using merge fields... does excel have anything similar? Could I break the file down into XML and use that as a template? Any ideas?

Thanks.


回答1:


Office Writer from soft aritsans will do exactly this. Plus a lot more it is extremely powerful and I have used it to great effect in the past.

The down side is that it is rather expensive!



来源:https://stackoverflow.com/questions/6141040/how-to-fill-an-excel-template-using-asp-net-vb-or-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!