加命名空间(可能需要在项目中先加引用,再在类中如下引用)

using System.Web.SessionState; HttpContext.Current.Session["TotalPage"].ToString(); HttpContext.Current.Request.QueryString["cid"].ToString();

 

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2021-08-20
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-10
  • 2021-08-09
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案