动态读取网页内容
//HttpWebRequest RQ = (HttpWebRequest)WebRequest.Create("http://www.china2car.com/");
//HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.GetEncoding("utf-8");
//WebResponse Wbr = RQ.GetResponse();
//Stream SR = Wbr.GetResponseStream();
//StreamReader sr = new System.IO.StreamReader(SR, Encoding.GetEncoding("utf-8"));
//string str = sr.ReadToEnd();
//SR.Close();
//sr.Close();
HttpWebRequest RQ = (HttpWebRequest)WebRequest.Create("http://www.zg2sc.cn/car/commCar.do?carid=994110");
StreamReader Sr = new System.IO.StreamReader(RQ.GetResponse().GetResponseStream(), Encoding.GetEncoding("gb2312"));
string str = Sr.ReadToEnd();
Sr.Close();
Response.Write(str);