Solved

Get Documents From Image Data Type in SQL Server

Posted on 2006-11-27
3
468 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
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
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now