title: Fast Report Showing Images From Database
body: <p>Hello everyone who codes. I a working on a project that uses reporting a lot. My problem or i wanna do is: In my folder there are a lot of material images. I am showing material images according to its stock code. For example i have 200 image of my stock parts. 3 of 200 havent got image so their imageUrls are 'null'. Instead of Stock Parts that havent got image, my program shows one before parts image. So i want to do this. If a part hasnt got image , my report wont show image or will show empty white image. I dont know that am i clearly explain my problem. Here is simple code of my report page.</p>
  
  <pre><code>private void Picture1_BeforePrint(object sender, EventArgs e)
  {
      if ((String)Report.GetColumnValue("Stock_Products.ResimUrl") != null)
          Picture1.ImageLocation = ((String)Report.GetColumnValue("Stock_Products.ResimUrl"));
      else
      {
      }
  }
  </code></pre>