Displaying an image on a ASP.NET (3.5) webpage, from a database
<p>I'm new to ASP.NET. I'm developing a site with ASP.NET 3.5 (VS 2008), and all I want to do is this:</p>

<ol>
<li>Upload a image to the server (I'm doing this through FileUpload control)</li>
<li>Save the bytes (byte[]) in the database in some table</li>
<li><p>When user calls a page, say, Index.aspx?id=10, then I go a table, pull the relevant row which has id=10, the one of the cells has the image in the byte[] format</p></li>
<li><p>I now want to show this image on the webpage which has other things as well.</p></li>
</ol>

<p>I can't seem to figure out how to do this - the image control only expects a URL and I don't want to save the image on the disk..</p>

<p>Any ideas please?</p>

<p>-Rick</p>
