We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

.doc SQL Stream- merge with SQL Data- save back to SQL as PDF from stream

I'm considering your product and I want to make sure it will do the following:

I need to pull a word .docx (template) that includes standard mail merge fields form a SQL table, then have your software merge the template with other SQL data from other tables. Once merged, I need to append another word.docx to the previously merged doc. After that, the merged docx needs to be converted to a PDF document (page number and breaks) and then saved again to a SQL database (as PDF). I would prefer that everthing stay in a stream.


Hi Eric,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Of course, you can achieve this using Aspose.Words. You can find an example how to read/write documents into database here:


And of course, you do not need to save your document on disk, you can perform all processing in memory. Please let me know in case of any issues, I will be glad to help you.

Best regards.