title: how to render image in view. value of image  = byte[]. asp.net mvc
body: <p>i have image value in database of type <code>"image"</code>.
  in view saved under type <code>byte[]</code>
  i want to show it as image in my asp.net mvc view. the best its just as image.
  value if image is saved under <code>Model.ImageData.</code></p>
  
  <p>i tried to solve it like this:</p>
  
  <pre><code>&lt;img height="450px" width="330px" src="&lt;%= historyItem.ImageData %&gt;" alt="image" /&gt;
  </code></pre>
  
  <p>but it doesnt work.
  how to do that? </p>