I have following code
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
UpdateCommand="UPDATE [gMeter] SET ... [userId] = @userId ...
I need to parametr @userId assign session variable Session["userId"], any ideas? I tried
[userId] = <%= Session["userId"]%>
But it does not works.
Try this inside your
asp:SqlDataSource