猿问

网站首页生成静态页面问题

System.Net.WebRequest wReq = System.Net.WebRequest.Create  ("http://localhost:4547/Web/index.aspx");  这里路径应该怎么写啊 
System.Net.WebResponse wResp = wReq.GetResponse();
System.IO.Stream respStream = wResp.GetResponseStream(); 
System.IO.StreamReader reader = new System.IO.StreamReader(respStream, System.Text.Encoding.GetEncoding("UTF-8"));
 return reader.ReadToEnd();
动漫人物
浏览 400回答 1
1回答
随时随地看视频慕课网APP
我要回答