By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,458 Members | 1,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,458 IT Pros & Developers. It's quick & easy.

Image from SQL to new Image or Placeholder

P: n/a
I am looking for a way to read an Image from SQL directly to a new Image or
Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You will not be able to accomplish this witht he current versions of
ASP.NET.

What you can do is create a .aspx that uses the OutputStream.Write method to
output an image, then put
something like:
<img src="myimagedownloader.aspx?id=4"/>
into your placeholder.

I have heard rumors that the next version of ASP.NET shipping with "Whidbey"
will have an image control that will take a System.Drawing.Image or Stream
and render the image without having to resort to this extra page.

"Brian K. Williams" <wi*******@millenia.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
I am looking for a way to read an Image from SQL directly to a new Image or Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams

Nov 15 '05 #2

P: n/a
Worked perfect...
Thanks for the help..

Brian K. Williams

"Philip Rieck" <st***@mckraken.com> wrote in message
news:eL**************@TK2MSFTNGP11.phx.gbl...
You will not be able to accomplish this witht he current versions of
ASP.NET.

What you can do is create a .aspx that uses the OutputStream.Write method to output an image, then put
something like:
<img src="myimagedownloader.aspx?id=4"/>
into your placeholder.

I have heard rumors that the next version of ASP.NET shipping with "Whidbey" will have an image control that will take a System.Drawing.Image or Stream
and render the image without having to resort to this extra page.

"Brian K. Williams" <wi*******@millenia.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...
I am looking for a way to read an Image from SQL directly to a new Image

or
Placeholder. I have not been able to find any examples other than
Response.OutputStream.Write or similar.

Thanks for any help
Brian K. Williams


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.