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: http://aspdotnet.livejournal.com/96005.html

« Using DataRelation in DataSet || Postback question »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home