得到WebService应用程序的路径
生活随笔
收集整理的這篇文章主要介紹了
得到WebService应用程序的路径
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?[WebMethod]
?public string ShowWebServicePhysicalPath()
?{
??????? string strpath=System.Web.HttpContext.Current.Request.PhysicalPath;
????????return? strpath.Substring(0,strpath.LastIndexOf(@"\"));?
}
轉載于:https://www.cnblogs.com/lanbaoming/archive/2011/08/05/2128671.html
總結
以上是生活随笔為你收集整理的得到WebService应用程序的路径的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 架构师速成4.6-软技能和硬技能
- 下一篇: 学习进度条第十周