Board index » DotNet » Please help - how to call a web link in a windows form...

Please help - how to call a web link in a windows form...

DotNet134
Dear Experts,



I am asked to develop a Windows Application that calls to a given web link

(e.g. http://localhost/Test.aspx?id=1234) and catches the returned HTML from

this link (returned from web server of course). I really have no idea on how

to accomplish this. Could you please give me some hints on resolving this or

please indicate any resources/references that I can refer to?



Thanks a lot for your help.

Tigger



--

I am Tigger.


-
 

Re:Please help - how to call a web link in a windows form...

Hi,



The simplest approach would be to use the System.Net.WebClient class.



--

Sincerely,

Dmytro Lapshyn [Visual Developer - Visual C# MVP]





"Tigger" <Tigger@discussions.microsoft.com>wrote in message

Quote
Dear Experts,



I am asked to develop a Windows Application that calls to a given web link

(e.g. http://localhost/Test.aspx?id=1234) and catches the returned HTML

from

this link (returned from web server of course). I really have no idea on

how

to accomplish this. Could you please give me some hints on resolving this

or

please indicate any resources/references that I can refer to?



Thanks a lot for your help.

Tigger



--

I am Tigger.



-