Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing Word Docs on Web Page FRom SQL Server

Status
Not open for further replies.

CJAI

MIS
Oct 21, 2003
224
US
I have an input form where users can upload word documents to a database.

How do I create a hyperlink to the word doc in the web page?

FYI - I want to pull the infointo a dataset, then populate a label with hyperlinks that when clicked pull up the word doc

Thanks much!
 
Is the word document itself in the database, or is it only a pointer to the document at another location?

----------------------------------------

TWljcm8kb2Z0J3MgIzEgRmFuIQ==
 
the document itself is in the database stored as type 'image'
 
You can retreive the image via a SQL statement and then use Response.BinaryWrite to write the file out to the page.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top