B
bnob
I have to keep a variable (integer) during the navigation of my asp.net
project (vb.net code behind).
So actually I use a module where I declare a global variable
Public MyGlobalVariable as integer
In all my form I refer to this variable with MyGlobalVariable .
Is this method the best way to use global variable ? Or is session
variable better ?
project (vb.net code behind).
So actually I use a module where I declare a global variable
Public MyGlobalVariable as integer
In all my form I refer to this variable with MyGlobalVariable .
Is this method the best way to use global variable ? Or is session
variable better ?