Server.MapPath(path)的使用

Server.MapPath(path)的使用

用法:1.Server.MapPath(/) 应用程序根目录所在的位置 如 C:Inetpubwwwroot2.Server.MapPath(./) 表示所在页面的当前目录 注:等价于Server.MapPath() 返回 Server.MapPath()所在页面的物理文件路径3.Server.MapPath(../)表示上一级目录4.Server.MapPath(~/)

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部