独上高楼网站
  •    你所在位置:首页 VS.netASP.net基础知识〉如何得到网站根目录
  • 如何得到网站根目录
  • 作者:佚名  文章来源:网上下载  发布日期:2007-11-19  浏览次数:1340
  • 打印这篇文章
  •         string host = "http://" + HttpContext.Current.Request.Url.Host + ":" + HttpContext.Current.Request.Url.Port + HttpContext.Current.Request.ApplicationPath;
            Response.Write(host);
  • 打印这篇文章
  • 与本文主题相关的文章
  • 返回首页