we want use some variable globally,where we declare the variable
Divya Parashar
Select an image from your device to upload
In ASP.NET 2.0, create a public class in App_code folder and create punblic static/shared variable.
By this, you will get global variable
Declare the variable as public.
Another way is create a public class, define all the variables. You can globally access these variables.