I have label3 in page1. it contain an integer value 1. I want to pass that value to page2 and to perform some arithmetic operation with it
Label3.Text = ("1"); Session["s"] = Label3.Text;
this the code
int a=Session["sum"].ToString();
int a= (int)Session["s"].ToString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)