我想访问外部网页上的内容(控件)
答案 0 :(得分:1)
您可以使用此代码基于WebClient
System.Net.WebClient wc = new System.Net.WebClient();
byte[] raw = wc.DownloadData("http://nccptrai.gov.in/nccpregistry/saveSearchSub.misc");
//it's also possible to use DownloadString
string webData = System.Text.Encoding.UTF8.GetString(raw);
因此您可以解析webData以获得您希望的值