你直接用System.Web.HttpContext.Current.Server.MapPath()就行了

 

因为 在App_Code 文件夹下找不到Server

 

所以直接用System.Web.HttpContext.Current.Server.MapPath()就行了

相关文章:

  • 2021-05-06
  • 2021-11-21
  • 2021-09-07
  • 2022-01-02
  • 2022-12-23
  • 2021-07-17
  • 2022-01-10
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2021-04-04
  • 2022-12-23
  • 2021-10-29
相关资源
相似解决方案