private string ReadHtml(string resumeid)
{
// 在此处放置用户代码以初始化页面
string url = "http://" + Request.Url.Authority + "/memberCenter/Resume.aspx?resumeid=" + resumeid;
System.IO.Stream stream = null;
WebClient client = new WebClient();
stream = client.OpenRead(url);
StreamReader readerOfStream = new StreamReader(stream, System.Text.Encoding.GetEncoding("UTF-8"));
string aa = readerOfStream.ReadToEnd();
stream.Close();
return aa;
}
读取静态页面(HTML)
最新推荐文章于 2019-05-05 10:04:07 发布