 <p>The way to do this is to use the <code>&lt;script&gt;</code> tag instead of <code>&lt;% ... %&gt;</code> for your code block:</p> <pre><code>&lt;script language="vbscript" runat="server"&gt; Response.Write "&lt;%= Count %&gt;" &lt;/script&gt; </code></pre> <p>Output:</p> <pre><code>&lt;%= Count %&gt; </code></pre>