开发者

Word Mail Merge from ASP.NET web application

What is the best way to do this. I dont have access to the database since it is firewalled. It needs to be done throught the web interface.

I can generate a csv file and plug it开发者_Python百科 into the word document, but it seems cumbersome to me. Is there any better way to do this?

Thanks

Edit:For future reference i ended up using a library called Syncfusion DocIO.


Automating Word Mail merge from ASP.NET application


OfficeWriter is a third-party library that lets you do mail merges in ASP.NET with DOC or DOCX. You didn't specify which file format you needed - Leniel's suggestion will work for DOCX, but if you need DOC (binary) support your best bet is with a third-party.

Automating Office on the server is never a good idea (see: http://support.microsoft.com/kb/257757)

http://www.officewriter.com


Have you tryed NTemplates? Not exactly for Word documents but if you don't mind using RTF, it might be the solution. Download full source code and examples for free from ntemplates.codeplex.com

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜