I have to extract some information from html web page which contains the following table :
//Http://www.example.com/12.html
//<html ... >
<table>
<tr>
<td>HIIIIIIIIIII</td> 开发者_如何学编程// this is what I need from this page
</tr>
<tr><td>bla bla bla</td></tr>
</table>
any Ideas ?
Thank uYou should have a look at the Html Agility Pack, which provides good ways of parsing/reading HTML (even badly formed)
On this S.O. question, you can find a sample of how to extract table data. And this question contains sample of usage with LINQ.
精彩评论