Question

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 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.

Was it helpful?

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top