M
Marine
Hi,
Sorry i'm a newbie with Asp.net, here is my problem :
private void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack) { Label1.Text = (string)Session["test"]; }
}
private void Button1_Click(object sender, System.EventArgs e)
{
Session["test"] = "test";
}
I have to click two times on the button to see "test".
Thanks for any help.
Sorry i'm a newbie with Asp.net, here is my problem :
private void Page_Load(object sender, System.EventArgs e)
{
if (IsPostBack) { Label1.Text = (string)Session["test"]; }
}
private void Button1_Click(object sender, System.EventArgs e)
{
Session["test"] = "test";
}
I have to click two times on the button to see "test".
Thanks for any help.