hi
i want to save & retraive pdf,doc file from sql server using asp.net please send me a complete solution(in zip file) because i tired to solve this problem
thanks regard
How to retraive pdf file from sql server please give proper answer
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jul 15, 2012, 10:28 PM EDT
Please find the attached project. Here is the my table script.
create table uploadtest
(
id int primary key,
filename varchar(500),
filecontent varbinary(max)
)
For demo purposes i have set to upload and download one file only.
Also i have used Entity framework, if you are using stored procedures, create a class with the above columns as properties and set the values or directly pass the stored proc content to filename and file content
Please dont forget to mark my answer as accepted if it works.