方法一:
string sPath = System.IO.Path.GetDirectoryName(Page.Request.PhysicalPath)
方法二:
string sPath = System.Web.HttpContext.Current.Request.MapPath("/")
方法三: string sPath = Page.Server.MapPath("/");
上一篇:将.aspx转换为.htm的方式有哪些
下一篇:如何正确编写服务端拼接json数据格式