title: Dynamically Rendering asp:Image from BLOB entry in ASP.NET
body: <p>What I want to achieve is this. I want to give the user the ability to upload an image file, store the image in BLOB in SQL Server, and then use this image as a logo in other pages of the site. </p>
  
  <p>I have done this by using  </p>
  
  <pre><code>   Response.Clear();
     Response.ContentType = "image/pjpeg";
     Response.BinaryWrite(imageConents);
     Response.End();
  </code></pre>
  
  <p>but to do this, I use a User control in the place where I want to show the image. I want to do it if possible using an asp:Image control, or even a pure old html image control. Is this possible?</p>