title: RDLC + ReportViewer Control - how to display images from the database?
body: <p>I am storing GIF images (I can switch to BMP if necessary) in a varbinary column in SQL 2008. I want to display these images in a PDF rendered by the ReportViewer control from my RDLC.
  How do I have to reference the image data in the report to make that work? </p>
  
  <pre><code>=First(Fields!sh_lot_num_barcode_image.Value, "DataSet1"))
  </code></pre>
  
  <p>A simple field reference does not seem to do the trick.</p>