任何人都可以告诉我GetHtmlPage的命名空间吗?我有:正确的命名空间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
任何意见是赞赏。
问候。