摘要: 以下获取的都是文件的物理路劲,获取网站根目录的方法有几种如:Server.MapPath(Request.ServerVariables["PATH_INFO"]) Server.MapPath("/") Server.MapPath("")//当前代码文件所在的目录路劲Server.MapPath(".") Server.MapPath("../") Server.MapPa... 阅读全文
posted @ 2010-04-27 08:45 piaopiaoran 阅读(2394) 评论(2) 推荐(0) 编辑