Solved

Get Documents From Image Data Type in SQL Server

Posted on 2006-11-27
3
471 Views
Last Modified: 2012-06-27
Hi,

If I have documents such as word, pdf, etc.. stored in my SQL Server DB as an "image" datatype, what's the best way to write a program in C# to retrieve these documents.  Please advise.

Thanks,
0
Comment
Question by:tinman1412
3 Comments
 
LVL 5

Accepted Solution

by:
rameedev earned 50 total points
ID: 18025481
check this url http://support.microsoft.com/default.aspx?scid=kb;EN-US;309158

this is for the BLOB datatype but should work the same for Image datataype..bcoz finally when you retrive a BLOB or image data from sql server it is usaully stored in a byte array which can be written using a file stream.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that undeā€¦
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question