This may sound like a silly question but I can't seem to get it to work.
How do I make a class that I created in ASP.NET persist through pagebacks?
I have tried assigning it to a session variable and it still clears.
Rather then me post my ugly code can someone please post me an example of using a class in ASP.NET?
It could be as simple as myclass with name as a parameter. I'm more interested in how it's instantiated and how you get the data to persist through pageback.
Thank you ahead of time.
How do I make a class that I created in ASP.NET persist through pagebacks?
I have tried assigning it to a session variable and it still clears.
Rather then me post my ugly code can someone please post me an example of using a class in ASP.NET?
It could be as simple as myclass with name as a parameter. I'm more interested in how it's instantiated and how you get the data to persist through pageback.
Thank you ahead of time.