Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get Documents From Image Data Type in SQL Server

Posted on 2006-11-27
3
Medium Priority
?
476 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 200 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Integration Management Part 2

971 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