S
staffan
Hi
I am quite new to asp.net and before in old asp I used Session variables
with <% %> to have dynamic parametrars in a SQL Stmt for example. But the
serverside tag don´t accept <% %>. So what should a use? Is there serverside
sessions and how do I use them or is there a simple method to use?
Thanks!!!!
/Staffan
"
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:s11243291ConnectionString %>"
SelectCommand="SELECT TOP 100 PERCENT dbo.t_Choice.timeofchoice,
t_Action.Actionname, dbo.t_Logg_call.infobox, dbo.t_Choice.choice,
dbo.t_Logg_call.aNumber FROM dbo.t_Choice INNER JOIN dbo.t_Logg_call ON
dbo.t_Choice.FK_CallID = dbo.t_Logg_call.CallID LEFT OUTER JOIN t_Action ON
dbo.t_Choice.choice = t_Action.choiceCondition WHERE
(dbo.t_Logg_call.FK_Customer = 1) AND (t_Action.FK_Customer = 1) AND
(t_Action.NoAction = 0) ORDER BY dbo.t_Choice.timeofchoice DESC">
</asp:SqlDataSource>"
I am quite new to asp.net and before in old asp I used Session variables
with <% %> to have dynamic parametrars in a SQL Stmt for example. But the
serverside tag don´t accept <% %>. So what should a use? Is there serverside
sessions and how do I use them or is there a simple method to use?
Thanks!!!!
/Staffan
"
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:s11243291ConnectionString %>"
SelectCommand="SELECT TOP 100 PERCENT dbo.t_Choice.timeofchoice,
t_Action.Actionname, dbo.t_Logg_call.infobox, dbo.t_Choice.choice,
dbo.t_Logg_call.aNumber FROM dbo.t_Choice INNER JOIN dbo.t_Logg_call ON
dbo.t_Choice.FK_CallID = dbo.t_Logg_call.CallID LEFT OUTER JOIN t_Action ON
dbo.t_Choice.choice = t_Action.choiceCondition WHERE
(dbo.t_Logg_call.FK_Customer = 1) AND (t_Action.FK_Customer = 1) AND
(t_Action.NoAction = 0) ORDER BY dbo.t_Choice.timeofchoice DESC">
</asp:SqlDataSource>"