title: condition in Eval while Binding data in gridview
body: <p>This is my Code in Asp Gridview</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Commented By"&gt;
      &lt;ItemTemplate&gt;
           &lt;h3 class="sfUserName"&gt;
  &lt;%#Eval("UserName")%&gt;&lt;/h3&gt;
  
      &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>Here i have to check </p>
  
  <pre><code>if (&lt;%#Eval("UserName")%&gt;=="Annons")
  {
     //Bind &lt;%#Eval("Name")%&gt;
  }
  else if (&lt;%#Eval("UserName")%&gt;!="Annons")
  {
     //Bind &lt;%#Eval("UserName")%&gt;
  }
  </code></pre>
  
  <p>How can i do this ?</p>