任何人都可以告訴我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
任何意見是讚賞。
問候。