ternary operator in ascx page
<p>I have this check in ListView</p>

<pre><code>&lt;%# Eval("Count") != null ? Eval("Count") : 0%&gt;/&lt;%# Eval("MaxRange")%&gt;
</code></pre>

<p>now i want to change that if count is null then it should show nothing.</p>

<p>I tried this but no avail.</p>

<pre><code>&lt;%# Eval("Count") != null ? Eval("Count") + '/' + &lt;%# Eval("MaxRange")%&gt; : null %&gt;
</code></pre>

<p>Please let me know how to do this.</p>

<p>Thanks.</p>
