title: How to use Eval function to validate an integer field & then show a text value?
body: <p>I have this code :</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Active"&gt;
              &lt;ItemTemplate&gt;
                  &lt;%#Eval("IsActive")%&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>I have to use Eval to validate IsActive field, which is of type INTEGER.
  It can contain 1 or 0. By checking this value, I have to show to the user the output Yes or NO, because I don't want to show 1/0.
  Can you please tell me how to do it ?</p>
  
  <p>Thanks in advance ;)</p>