[WebMethod]
 public string ShowWebServicePhysicalPath()
 {
        string strpath=System.Web.HttpContext.Current.Request.PhysicalPath;
        return  strpath.Substring(0,strpath.LastIndexOf(@"\")); 
}

相关文章:

  • 2021-07-18
  • 2021-12-12
  • 2022-12-23
  • 2021-06-24
  • 2021-10-23
  • 2022-12-23
  • 2022-01-03
  • 2022-01-16
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-05-31
  • 2021-07-24
  • 2021-06-17
相关资源
相似解决方案