using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Text.RegularExpressions;
using System.Net;
namespace mygrab
{
    class china
    {
        static void Main(string[] args)
        {
            WebClient mywebclient = new WebClient();
            mywebclient.Credentials = CredentialCache.DefaultCredentials;            byte[] mybyte = mywebclient.DownloadData("http://61.135.173.47:6666/Outline.wct?Page=1&Result=96399&SelectID=8&ChannelID=4832&RecID=0");
            string mystring = Encoding.Default.GetString(mybyte);
            Regex re = new Regex(@"<td\scolspan=""2""><blockquote>[\s\S]*?""(?<web_url>[\s\S]*?)""");
            MatchCollection mc = re.Matches(mystring);
            int intnumber = 0;
            foreach (Match m in mc)
            {
                intnumber++;
                Console.WriteLine(intnumber );
                Console.WriteLine(m.Groups["web_url"] );
            }
            Console.WriteLine(">>>>>");
            Console.ReadLine();
            }
    }   
}
这样居然不到数据……………………???搞不懂!,我的正则表达式没有问题啊!于是我把那个网址的源代码复制过来!然后把程序抓取入口改称本地路径也就是(localhost)数据就出来了!搞不懂!