M
Magnus Blomberg
Hello!
I'm quite new to ASP.Net and trying to send a variable from one page to
another.
Om my first page, Index.htm page I have a link as:
<a href="Default.aspx?MyID=7">Def 7</a>
On Default.aspx I have following code in the load event:
Label1.Text = "MyID=" + Convert.ToString( Page.Session["MyID"]);
I really think it would work, but I only get the text MyID=.
Is the <a> tag not setting a session variable?
Any ideas
/Magnus
I'm quite new to ASP.Net and trying to send a variable from one page to
another.
Om my first page, Index.htm page I have a link as:
<a href="Default.aspx?MyID=7">Def 7</a>
On Default.aspx I have following code in the load event:
Label1.Text = "MyID=" + Convert.ToString( Page.Session["MyID"]);
I really think it would work, but I only get the text MyID=.
Is the <a> tag not setting a session variable?
Any ideas
/Magnus