talal
August 20th, 2004, 03:19 PM
Hi all,
I have a database table contaning a field of type Image which contains an image that the user has uploaded to the server. I also have fields like image length and file type. Now, on the wb page, I have a WebControl of type Image and I was wondering if there is a way to retrieve the image from the database and put it in this Image webcontrol. I managed to retrieve the image and display it on a page on its own using the following code:
Response.OutputStream.Write(attributes.getPicture(),0,attributes.getPictureLength());
but this is not what I want, I need to include the image in an already available aspx page. could anyone give me any hints on how to do such a thing?
thanks,
Talal
I have a database table contaning a field of type Image which contains an image that the user has uploaded to the server. I also have fields like image length and file type. Now, on the wb page, I have a WebControl of type Image and I was wondering if there is a way to retrieve the image from the database and put it in this Image webcontrol. I managed to retrieve the image and display it on a page on its own using the following code:
Response.OutputStream.Write(attributes.getPicture(),0,attributes.getPictureLength());
but this is not what I want, I need to include the image in an already available aspx page. could anyone give me any hints on how to do such a thing?
thanks,
Talal