How to get session value into an ASP Parameter tag?
<p>I have following code</p>

<pre><code>&lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
UpdateCommand="UPDATE [gMeter] SET ... [userId] = @userId ...
</code></pre>

<p>I need to parametr @userId assign session variable <code>Session["userId"]</code>, any ideas? I tried </p>

<pre><code>[userId] = &lt;%= Session["userId"]%&gt;
</code></pre>

<p>But it does not works.</p>
