бредущий по жизни (svoysredychuzih) wrote in aspdotnet,
бредущий по жизни
svoysredychuzih
aspdotnet

Reading Page Content of remote web page

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.
  • Post a new comment

    Error

    default userpic
  • 1 comment