- 2025年06月28日
- 星期六
如果我们在Global.asax中声明一个静态变量,那么如何在ASP.NET页面中访问它? script runat=server public static object myObject = new MyClass(); // Application_Start() and other stuff goes here./script 并且,这是一个存储全局对象(所
如果我们在Global.asax中声明一个静态变量,那么如何在ASP.NET页面中访问它? script runat=server public static object myObject = new MyClass(); // Application_Start() and other stuff goes here./script 并且,这是一个存储全局对象(所