Reading Page Content of remote web page
Date: 02/15/08
(Asp Dot Net) Keywords: asp, web
Hi there,
For my project I need to read an external web page and then parse the content.
What I have found on the internet is for asp:
<%
url = "http://www.espn.com/main.html"
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, false
xmlhttp.send ""
Response.write xmlhttp.responseText
set xmlhttp = nothing
%>
And I need the same for ASP.NET 2.0
Can anybody show me how to do that?
Thank you.
Source: https://aspdotnet.livejournal.com/96005.html