Hi Homayoon,
You can use HttpWebRequest class to do this.
Here is a link which explains this.
http://www.dotnetjohn.com/articles/articleid93.aspx
Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com
"Homayoon" <an*******@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
Can anyone help me with this problem? I want to request a web page in an
asp.net page. To be clearer, I want to retreive the HTML code for, let's say
the URL: http://www.foobar.com/
Can anyone help. thnx.
Homayoon