ASP.Net conditional databinding
<pre><code>&lt;% if(Convert.ToInt32(Eval("NbrOrders"))&gt;=Config.MAX_ENQUIRY_SALES) {  %&gt;
...  

&lt;% } else { %&gt;
...                                        

&lt;% } %&gt;
</code></pre>

<p>Gives me a InvalidOperationException? How do I write conditional html generation in ASP?</p>
