Welcome! and rules
Joel on Software
Denotes a 'field' where a 'class' was expected
I have a class by the name of "Section" that provides an abstraction over the sections of my ASP.NET web site. The class is compiled into a DLL. I have tested the Section code on pages before and it's all fine. But I am having a problem on one of the pages - the only difference is I am trying to use an instance of section as a global variable.
There's no reason it should be static - in fact it'd be best if it were non-static.
It had originally been public. Then I tried private, protected, and a whole bunch of others, but I'm still having the same problem. Ignore the static :)
Just a though - does your Section class have a default method? Can you post your Section class?
Nerdo - try:
Fog Creek Home