How To Declare and Use Global Variables in your ASP.Net Web Application
Author: DevASP
Download Source Code : 323_session_variable.zip
In ASP.net global variables are known as session variable and these are very easy to declare and use in Visual Studio.Net.
In this simple example you will learn to declare and use of session variables. Firstly create a webform and place a label having text Enter Value, a textbox with name txtvalue. Then create a button having text save and finally create a button with text goto form2.