asp - Cannot find method 'IsNullOrEmpty(String)' in 'String'
<p>Trying to only print if a string isn't empty, and am using the code below, but it keeps coming up with that error...  </p>

<pre><code>&lt;%if(!String.IsNullOrEmpty(o_handler.renderDesc())) { %&gt;
                        &lt;strong&gt;Description:&lt;/strong&gt;&lt;BR&gt;
                        &lt;HR SIZE="1"&gt;
                        &lt;strong&gt;&lt;%= o_handler.renderDesc()%&gt;&lt;/strong&gt;
                        &lt;HR SIZE="1"&gt;
                        &lt;BR&gt;
&lt;%} else { %&gt;

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

<p>Also tried this:</p>

<pre><code>&lt;%if( o_handler.renderDesc() != null ) { %&gt;
                        &lt;strong&gt;Description:&lt;/strong&gt;&lt;BR&gt;
                        &lt;HR SIZE="1"&gt;
                        &lt;strong&gt;&lt;%= o_handler.renderDesc()%&gt;&lt;/strong&gt;
                        &lt;HR SIZE="1"&gt;
                        &lt;BR&gt;
                    &lt;%} else { %&gt;

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

<p>Here's the error:</p>

<p><strong>Compiler Error Message: VJS1223: Cannot find method 'IsNullOrEmpty(String)' in 'String'</strong></p>
