displaying binary data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys,

I have set the datatype of one column as image in database. I can upload
doc, txt etc files in this column.

How can i display the document in webpage for example set the text of label
or use Reponse.Write? I am unable to do so as it shows some garbage letters
and if set the content type, it renders the original document.

Thanks

Manny
 
Which is how it is suppose to work. Why would you think that setting a
label (which is HTML) to some binary content will show the binary content?

You can only provide links to binary content which, when clicked, will
either open in the browser or ask you to download it.
 
Back
Top