I've worked with classic ASP and know C by way of Java and a few simple web services, at my new just they have a .net 2003 web app and I've been able to help fix up a few things as I'm getting up to speed, but I have one place where I need to get a value from the .aspx page into the validation code in a C# class.
I don't want to include the value in the method call, because I would then have to include the data in every subsequent method call (a couple dozen, maybe more) for each validation until I hit the save at the bottom.
I set a session variable in the .aspx page and watched it get set in the debugger, and know it's there for the other code, but when I try to reference it in the C# method, I get the build error:
"The name 'Session' does not exist in the class or namespace ..."
I can't find any code examples to figure this out, can anybody help me with this?
Thanks in advance,