2009年3月19日

ASP.NET 取得 Request URL 的各個部分

摘要: Request.ApplicationPath / Request.PhysicalPath D:\Projects\Solution\web\News\Press\Content.aspx System.IO.Path.GetDirectoryName(Request.PhysicalPath) D:\... 阅读全文

posted @ 2009-03-19 13:36 风乔 阅读(125) 评论(0) 推荐(0) 编辑

asp.net静态页面实例

摘要: protected void Button1_Click(object sender, EventArgs e) { string url = "http://" + Request.Url.Authority + "/default.aspx"; new System.Net.WebClient().DownloadFile(url, Server.MapPath("~/default.html... 阅读全文

posted @ 2009-03-19 11:49 风乔 阅读(282) 评论(0) 推荐(0) 编辑

导航