谢谢 各位大虾了 
100求助

解决方案 »

  1.   

    因为baidu的搜索结果页面中 有一个
    if (top.location !== self.location) {
    top.location=self.location;
    }
    我要去掉他 在嵌到我的页面中
      

  2.   

    string PageUrl = string.Format("http://pachong.cn");
    WebClient wc = new WebClient();
    wc.Credentials = CredentialCache.DefaultCredentials;
    Byte[] pageData = wc.DownloadData(PageUrl);
    string result = Encoding.Default.GetString(pageData);
    wc.Dispose();
    result中就是你要的代码,至于后期怎么处理就看你的需求了