Showing documents stored in the database in the browser

G

Guest

i am in the process of designing an application that uploads documents to the
webserver from my ASP.net \ winforms application and saved them in the
database. Now i have another page which show hyperlinks points to the
document names that are stored in the database but the question when the user
clicks on the document how woudl i show the document to the user, if the
document was being saved on the file system then i would simply redirect the
user to the location of the document on the webserver and the brower then
invokes word if this is MS work document or pdf if this is a pdf extions or
what ever. but in this case when the document is store in the datbase how
would i pull the document from the database, pop open the MS word or PDF
depending on the file extension which is again comming from the database? any
suggestions or links to code is appreciated.

thanks
Sameer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top