title: C# if statement on gridviewdatacolumn
body: <p>i have code like this</p>
  
  <pre><code>....
         &lt;dx:GridViewDataColumn FieldName="NO_APPEL" VisibleIndex="2" Caption="N° Appel"&gt;
                         &lt;DataItemTemplate&gt;
  
                   IF DataBinder.Eval(Container, "DataItem.NO_APPEL") == NULL  
                        THEN i don't want to show the link (a href)
                    ELSE
                        show the link (a href)
  
                      &lt;a href="javascript:void(0);" onclick="OnMoreInfoClick_Appel(this, '&lt;%# DataBinder.Eval(Container, "DataItem.NO_APPEL") %&gt;')"&gt;Plus d'info&lt;/a&gt;
  
                  &lt;/DataItemTemplate&gt;
  ......
  </code></pre>