谁能告诉我 GetHtmlPage 的命名空间?我有:
using System.Net;
using System.IO;
根据此处的说明:http: //www.mikesdotnetting.com/Article/49/How-to-read-a-remote-web-page-with-ASP.NET-2.0
但是这行代码:
string locatorReport = GetHtmlPage(URL);
抛出错误消息:
The name 'GetHtmlPage' does not exist in the current context
任何建议表示赞赏。
问候。