Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Parse table in HTML Agility Pack for WP7

$
0
0

I have following HTML:

<table cellspacing="8" cellpadding="6" border="1" style="color: Black; background-color: LightGoldenrodYellow;
    width: 60%;" id="GridView2" rules="all">
    <tbody>
        <tr style="color: White; background-color: #CF4B0A; font-weight: bold;">
            <th align="center" scope="col">
                Booked At
            </th>
            <th align="center" scope="col">
                Booked On
            </th>
            <th align="center" scope="col">
                Delivered At
            </th>
            <th align="center" scope="col">
                Delivered On
            </th>
            <th scope="col">
                Details
            </th>
        </tr>
        <tr align="left" style="color: #333333; background-color: #FFFBA1; font-family: Arial;
            font-size: Small;">
            <td align="center">
                Not Available
            </td>
            <td align="center">
                Not Available
            </td>
            <td align="center">
                DATA
            </td>
            <td align="center">
                12/01/2012
            </td>
            <td>
                <a href="javascript:__doPostBack('GridView2$ctl02$LinkButton1','')" id="GridView2_ctl02_LinkButton1">
                    Details</a>
            </td>
        </tr>
    </tbody>
</table>

 

I would like to parse the above table using HTML Agility pack. I'm using the HAP solution for WP7, downloaded from Codeplex. Any quick help will be appreciated.


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>