hide gridview hyperlink in visible property of source rather then code behind
<p>Ive got a gridview with an itemtemplate that has a hyperlink control in it.  I want to hide a hyperlink control if its item in the database returned null:</p>

<pre><code>  &lt;ItemTemplate&gt;
                                   &lt;asp:HyperLink ID="hlSugar" Visible=&lt;% DataBinder.Eval(Container, "DataItem.CaseID")==null %&gt; ToolTip="View the issue in SugarCRM." Target="_blank" runat="server" NavigateUrl='&lt;%# "http://myPath&amp;record=" + DataBinder.Eval(Container, "DataItem.CaseID") %&gt;' Text="Issue"&gt;&lt;/asp:HyperLink&gt;
                            &lt;/ItemTemplate&gt;
</code></pre>

<p>Not sure on the syntax can I do </p>

<pre><code>Visible = &lt;% iif(databinder.eval(container, "dataItem.caseid")==null, false, true) %&gt;
</code></pre>

<p>Not sure how to get the syntax correct.  I basically want to check if my `DataItem.CaseID is null and hide this field if it is.</p>
