摘要:
获取网站根目录的方法有几种如:Server.MapPath(Request.ServerVariables["PATH_INFO"]) Server.MapPath("/") Server.MapPath("") Server.MapPath(".") Server.MapPath("../") Server.MapPath("..") Page.Request.ApplicationPath 以上的代码在http://localhost/EnglishClub/manage/WebForm1.aspx页面 运行结果: C:\Inetpub\wwwroot\EnglishClub\ma 阅读全文
posted @ 2011-01-11 14:45
山村果园
阅读(298)
评论(0)
推荐(1)

浙公网安备 33010602011771号