400-1100-266
9:00-24:00(工作日)
方法一:
string sPath = System.IO.Path.GetDirectoryName(Page.Request.PhysicalPath)
方法二:
string sPath = System.Web.HttpContext.Current.Request.MapPath("/")
方法三: string sPath = Page.Server.MapPath("/");
我推荐使用第二种
标签:咸宁 枣庄 拉萨 南平 益阳 POS机 攀枝花 厦门
上一篇:服务端拼接json数据格式的正确写法(Append方式)
下一篇:将.aspx转换为.htm的两种方法