Click here to Skip to main content
14,385,667 members
Rate this:
Please Sign up or sign in to vote.
See more:
HI friends

I need to save my pdf in sql server 2005 and reterive from there and to display in web browser
Posted
Comments
Dhanamanikandan 25-Apr-12 3:22am
   
Do u like to save the .pdf file in SQL?
itsureshuk 2-May-12 5:37am
   
s...i need to save pdf file
Rate this:
Please Sign up or sign in to vote.

Solution 1

read this article and you will get some idea. you can use this technique to save pdf file to data base and retrieving process you can use
File.WriteAllBytes()

method to instead of
Image.FromStream(ms); 

This is the link
Storing and Retrieving Images from SQL Server Using Strored Procedures and C#.net[^]
I hope this will help you...
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

Hi
See this link it will be helpful
Here[^]
if you Google you will find a lot of Example .
Best Regards
M.Mitwalli
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100