You can send value to the other page by using QueryString.
I prefering that alltime;
How can you do;
Sending page
< a hre f ="Example.aspx?Value=Hello World!">Click Me! < / a >
The Page who gonna take value
Write this code pages codebehind
protected void Page_Load(object sender, EventArgs e)
{
string Value = Request.QueryString["Value"].ToString();
Response.Write("alert('"+Value+"');");
}