getting a html content of a url address using c#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 1
Reputation: sivamoni is an unknown quantity at this point 
Solved Threads: 0
sivamoni sivamoni is offline Offline
Newbie Poster

getting a html content of a url address using c#

 
0
  #1
Jun 16th, 2009
Hi
I want to display the html content of the web pages(url address) in a c# window applications, but it is possible to get the dynamic content of a web pages also.

If yes please query your comment.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 124
Reputation: thewebhostingdi has a little shameless behaviour in the past 
Solved Threads: 11
thewebhostingdi thewebhostingdi is offline Offline
Junior Poster

Re: getting a html content of a url address using c#

 
0
  #2
Jun 16th, 2009
You can easily fetch the html content of the any URL into the string using the string builder and webrequest .net classes. Refer this link for the sample code.

http://ask4asp.net/post/2009/05/13/f...ebRequest.aspx

If you are looking just to display the URL in the windows form then there is one component available named WebBrowser in C#.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,187
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 571
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: getting a html content of a url address using c#

 
0
  #3
Jun 16th, 2009
Also take a look at "mshtml".
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC