Hidden Fields are used to store values. It is accessible through out the page.
We can store the value of any variable to the hidden field and then call them in any function in that page.
Eg:-
..Page_Load(){
int x=25;
HiddenField1.Value=x.ToString();
}
public void SomeFunction()
{
int y=Convert.ToInt(HiddenField1.Value);
}