title: Condition in ASP Repeater Control
body: <p>This is my situation, I wanted to check whether my DataTable contains value for a particular column, if so i wanted display the image.</p>
  
  <p>Here is my code,</p>
  
  <pre><code>&lt;%if (DataBinder.Eval(Container.DataItem, "VideoID") != "") 
  {%&gt;
      &lt;img src="&lt;%#ConfigurationManager.AppSettings["BaseURLImages"] %&gt;VideoIcon.png" class="RelatedNewsIcon" /&gt;
  &lt;%}%&gt;
  </code></pre>
  
  <p>It is not working, correct me where I'm wrong!</p>
  
  <p>Thanks in Advance,
  RaJEsh.</p>