Save and Retrieve Aspose Word to a Blob

Hi, i am looking to save an uploaded file to a sql server as a blob and then retreive those files and do a mail merge on them.

I believe you must save the document into a stream and then into a byte array, but i’m not sure exactly how to do this. Is there any sample code you can provide that would accomplish this.

Thanks.

Please check the following MSDN articles on how to read/write blob values from/to database:

https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/retrieving-binary-data

If you still have questions after reading them please don’t hesitate to ask them here.

Best Regards,