G
Guest
Hi,
I am designing an ASP.NET application in which particular pages require global variables that need to be persisted during postbacks. What is the best practice to do this?
Is it to use the viewstate object or is declaring the variables as static sufficient (I am currently using this method)?
Thank you,
Mark Anthony Spiteri
I am designing an ASP.NET application in which particular pages require global variables that need to be persisted during postbacks. What is the best practice to do this?
Is it to use the viewstate object or is declaring the variables as static sufficient (I am currently using this method)?
Thank you,
Mark Anthony Spiteri