Display no image binary data
-
How can i display (without Save/Open dialog) .doc file, stored in sql server 2005 like binary data (column type image), on .aspx page. :-D
Set the content type to application/msword on the response object.
Deja View - the feeling that you've seen this post before.
-
Set the content type to application/msword on the response object.
Deja View - the feeling that you've seen this post before.
-
Yes i did. But i got Save/Open dialog instead to write content on page. I do not need to download .doc file, i need to display them on page.
A word document is only displayed inside the browser if the browser is set up display it that way. It's still not showed on the page, though. If you really want to show it on the page, you have to convert it some format that can be displayed in a web page, like for example an image.
--- single minded; short sighted; long gone;
-
A word document is only displayed inside the browser if the browser is set up display it that way. It's still not showed on the page, though. If you really want to show it on the page, you have to convert it some format that can be displayed in a web page, like for example an image.
--- single minded; short sighted; long gone;