日期:2014-05-16 浏览次数:20369 次
WebRequest MyReq = WebRequest.Create("http://shows.soufun.com/adpolestar/door/;ap=90383A74_C1DD_B2F3_C718_7751F53BF4B7;ct=js;pu=soufun;"); WebResponse MyRes = MyReq.GetResponse(); Stream resStream = MyRes.GetResponseStream(); StreamReader webRstrem = new StreamReader(resStream, Encoding.Default); StringBuilder sb = new StringBuilder(); while ((Result = webRstrem.ReadLine()) != null) { sb.Append(Result); }
------解决方案--------------------
得到是src的值,还是链接的返回的内容?
如果是后者,就是ajax,不过要注意跨域问题..
------解决方案--------------------