Preserve values in ASP.Net Variables

ganapathi

Member
Joined
Jul 27, 2004
Messages
14
Programming Experience
1-3
Hi All,

How to preserve values of a variable ( or dynamic array) after each postback in ASP.Net.

Thanks,
Ganapathi
 
add a module to the web project and declare the variables to want preserved after each postback as:

friend <variable name> as <varible type>


or session variables/veiwstate all three work
 
How do I add a module to the web project. I see how to add a Class but not a module. Could you please explain. I am trying to convert from VB6 to Visual Studio 2005 and I am writing a Web Application.
thanks
 
Back
Top