Hi there,
What you need to do is create a separate ASPX page that retrieves the image from the database and returns in. You cannot mix your normal ASPX page with the image.
Then in your ASPX page, bind the image to the image page, like this:
ImageUrl="/ImageGenerator.aspx?ImageId=123"
You can substitute the 123 with the record ID from the db.
Search Google for BinaryWrite .NET and image and you'll find articles like this one:
http://www.aspfree.com/c/a/ASP.NET/R...--C---Part-II/
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Das alte Leid by
Rammstein (Track 7 from the album:
Herzeleid)
What's This?