Web Image Control Question

G

G Dean Blake

I have a Bitmap (system.drawing.bitmap) in a varaible that was just
retreived from a database blob field. I have my aspx page with an image
control on it. It appears, having those two things, there is no direct way
in which I can load my bitmap into my image control.

is there?

It appears that the only way to get a bitmap into the image control is by
using the ImageURL which means I will either have to reference another page
that will have to re-retrieve it from the database or write it to a file on
the server as a .jpg and reference it that way.

Any way to just do t his in memory?

Thanks,
G
 
G

G Dean Blake

I read your article. I'm already getting the image from another aspx page.
The problem is that I have to read the image from the database in my main
aspx page in order to get the aspect ratio to then adjust the image control.
so I have to read the image twice from the database - or use session memory.
Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,130
Latest member
MitchellTe
Top