2
Reply

write the code to put int value into session and retrieve the same value of session to string

Anand N

Anand N

11y
1.5k
0
Reply

    int val = 32;Session["value"] = val;String str = Session["value"].ToString();

    Set Session Value : Session["SessionName"] = value;Get Session Value : string str = Session["SessionName"].toString()