开发者

parse html table using ASP.NET

I need to read a html page and开发者_JAVA技巧 parse the contents of a table in that. I am using ASP.NET.Could anyone tell me how to do this. Thanks.


if you have a table name, you can do a Page.FindControl(table) Then loop using a foreach tablerow in table.


See http://htmlagilitypack.codeplex.com/

You can search SO for 'html agility' for ways to use it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜