parsing the html page

  • Thread starter Thread starter Ravindra
  • Start date Start date
R

Ravindra

Hi all,
I want to parse the html webpage and copy the content of that page in my
application.Can anyone help in this.very urgent.
cheers
ravindra
 
Look at the WebClient class.

WebClient client = new WebClient ();
string content = client.DownloadString (address);

"content" will now contain the html page, you can now use a regular
expression to parse the page and get the content you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top