I have an windows application which accesses a website.
I used webrequest and webresponse classes to read the webpage.
But this gives the entire html of the webpage.
HOw do i access any particular part of the webpage.???
For example - if i read the google news page then i get the whole html of the google news page.
how do i read only the news content of the page???
TIA
Loading
Dipal ChoksiPosted May 11, 2008, 9:33 PM
It would depend on your specific case. One of the ways would be to search for a pattern that you know will identify the element or area of interest to you in the html response. Typically regex is used to locate the known pattern.