首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

取样取服务器的域名!在ASP.NET中,该如何解决

2012-03-11 
取样取服务器的域名!!在ASP.NET中比果我在http://localhost:1113/11/我要得到http://localhost:1113/我该

取样取服务器的域名!!在ASP.NET中
比果我在http://localhost:1113/11/   我要得到http://localhost:1113/我该   怎样呀!!!

[解决办法]
"http:// " + Request.ServerVariables[ "Host "]

热点排行