private string GetHtml(string url)
{
System.Net.WebClient clIEnt = new System.Net.WebClIEnt();
try
{
byte[] buf = clIEnt.DownloadData(url);
//message.Text = System.Text.Encoding.GetEncoding("GB2312").GetString(buf);
return System.Text.Encoding.GetEncoding("GB2312").GetString(buf);
}
catch( Exception err)
{
message.Text = err.Message;
}
return null;
}