Free Support Forum -

Sample of using streams to save/ retrieve work files created via Aspose


Does anyone have an example of using stream to save and retrieve a document created via Aspose to a database, i.e. Sql Server?

Also, when using this withing a web site, what have people done as far as the user viewing the documents. Do you get the document in memory and then just stream sonehow to the response object?


Here is an example how to load and save documents into a database

There is a Document.Save method overload that accepts the Response object and streams the document down to it. The client machine needs to have MS Word or MS Word Viewer installed to display the document.

Aspose.Word will later have its own view/print control.