Hello, I'm having users upload documents to my db and storing them as an Image datatype, I can do that without an issue. I'm also able to find that record and return it as a byte(). Now, what's the best practice/scheme to return it to the browser, even FF, and have it prompt the user with the Open or Download thing Dialogue we all know and love.
Thanks in advance.
bump|||Hi,
When you get the file from database, you can send it to the browser using HttpResponse.WriteFile method.
Here is a link for more information about this method.
http://msdn2.microsoft.com/en-us/library/dyfzssz9.aspx
HTH. If this does not answer you question, please feel free to mark it as Not Answered and post your reply. Thanks!
No comments:
Post a Comment