Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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
C#
File.WriteAllBytes()

method to instead of
C#
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...
 
Share this answer
 
Hi
See this link it will be helpful
Here[^]
if you Google you will find a lot of Example .
Best Regards
M.Mitwalli
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900