比如在类中要使用Cache,用HttpContext.Current.Cache

Response,Request等一样.

如果要使用Page则:

Page p=(Page)HttpContext.Current.Handler;

相关文章:

  • 2021-06-12
  • 2021-09-06
  • 2021-11-03
  • 2021-11-23
  • 2021-10-06
  • 2021-06-03
  • 2021-06-15
  • 2022-12-23
猜你喜欢
  • 2021-07-22
  • 2021-07-21
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-10-02
  • 2021-09-11
相关资源
相似解决方案