How can I store a Word document that has an image in it in a SQL Server table? I want to be able to download it from database and edit the document. I am writing in VB.NET.
See the following post at my weblog: http://weblogs.asp.net/cazzu/archive/2003/08/27/25568.aspx.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Even if you're not thinking in an ASP.NET IHttpHandler, the code will be useful. Translating to VB.NET should be trivial.
Note that the file in its entirety is stored in the DB, therefore, it doesn't matter if it contains images, visio drawings or embedded excel files.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ...continue reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers.continue reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.