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

Free Support Forum - aspose.com

Aspose_Words_NET - How to display data and save the word document server or or data to datasource

The requirement is to generate a word document, populate the content control by connecting to data base. The data stored in database is in form of XML.Once the word document is generated, it needs to be saved back to server. If not the document , then at least the data of content control needs to be saved back to data source.

The above may also be done by mail merge, and if the user changes the the mail merged data , it should be stored back to data source.

The application would be web application in ASP.net. , and the user would click a button and the word document would open.

Please could you provide sample code or example , or if it already exists , then let me know where to find it

Hi Aparna,

Thanks for your inquiry. You can load and save documents into/from database by using the approach shared at following documentation link.
http://www.aspose.com/docs/display/wordsnet/How+to++Load+and+Save+a+Document+to+Database

Hope this helps you. Please let us know if you have any more queries.

This documentation link allows for saving a document from the specified directory, but as per my requirement , is there a way to save the document which is rendered on the client browser. As I had mentioned ,"The application would be web application in ASP.net. , and the user would click a button and the word document would open on the client browser"


This document which is on client side, needs to be saved after the user makes changes and clicks save, (should be able to save to the database).

Please let me know if there is a way to do it in Aspose Words.

Hi Aparna,

Thanks
for your inquiry. First of all please note that Aspose.Words for .NET
is a class library that enables your applications to perform a great
range of document processing tasks. Aspose.Words supports DOC, DOCX,
RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With
Aspose.Words you can generate, modify, convert, render and print
documents without utilizing Microsoft Word®. For more information,
please go through the documentation below:
http://www.aspose.com/docs/display/wordsnet/Introducing+Aspose.Words+for+.NET

Secondly, Aspose.Words does
not offer any UI or web control for editing documents via web browsers.

Please let us know if you have any more queries.