Where to declare read only static global class (ASP.NET 2.0 / C#)?
Posted on 2007-11-14
I want to make a global static class available to my aspx.cs pages. Should I declare this class in a separate .cs file in the App_Code folder? How do I call it from the aspx.cs page if I don't initialize the class? I want to make several different global classes and tell different aspx.cs pages which one to choose and use. It's really for my class below. Can someone help?
I want the aspx.cs to either pick:
I want to code my aspx.cs to tell it which one to do.