提取动态网页内容

Uri uri = new Uri("网址");
  WebRequest req = WebRequest.Create(uri);
  WebResponse resp = req.GetResponse();
  Stream str = resp.GetResponseStream();
  StreamReader sr = new StreamReader(str,System.Text.Encoding.Default);
  string t = sr.ReadToEnd();
  this.Response.Write(t.ToString());


提取动态网页内容
欢迎光临我们的淘宝饰品店:http://shop36465575.taobao.com/

你可能感兴趣的:(动态)