apparently, this is only possible when they do support for searching on multiple regions, otherwise, you have to submit multiple requests with classes in System.Net, for example, with HttpWebRequest/HttpWebResponse, and analyze/parse the returned page (redirection invovled)for example foreach (string sRegion in Regions)
{
string sURL = String.Format("http://www.t7online.com/cgi-bin/suchen?ORT={0}&LANG=cn&PRG=citybild", sRegion); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(sURL);
//request.AllowAutoRedirect = true;
request.Proxy = new WebProxy("proxy.phl.sap.corp",8080);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Encoding enc = Encoding.GetEncoding("GB2312");  StreamReader sr = new StreamReader(response.GetResponseStream(), enc);
string sHtml = sr.ReadToEnd();
sr.Close();
response.Close();
Console.WriteLine(sHtml );
}but if the returned html page is a frameset, apparently, you need to parse the html, retrieve the links and use the above method again to retrieve the real htmlGood luck!

解决方案 »

  1.   

    string[] Regions = {"China","Asia"};
      

  2.   

    其是替换了URL中的字符,这是个特例吧,假如别的情况呢,比如不能通过URL
      

  3.   

    另外我用了saucer(思归/MVP)的方法和我自己的方法都只能读出页面的一部分,请问如何解决
      

  4.   

    look at the html returned, is your page doing redirection with <META> tag? or show the url and let's test
      

  5.   

    请去查看相关的xmlhttp,HttpWebRequest 的资料,一定会对你有帮忙的
      

  6.   

    怎么解析不了呢,一个GET把内容获取下来,然后正则分析不就可以了吗?