Windows phone 7 WP7的HTML敏捷包中的解析表
我有以下HTML:Windows phone 7 WP7的HTML敏捷包中的解析表,windows-phone-7,html-parsing,Windows Phone 7,Html Parsing,我有以下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: #CF4B0
<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>
预定
预定
交货时间
交付
细节
无法使用的
无法使用的
数据
12/01/2012
我想使用HTML Agility pack解析上表。我正在使用WP7的HAP解决方案,从Codeplex下载。
任何快速帮助都将不胜感激。要解析HTML,请使用HAP的HtmlDocument.LoadHtml()函数并将实际字符串传递给它。这将为您提供一个包含所有HTML对象的DOM。要解析HTML,请使用HAP的HtmlDocument.LoadHtml()函数并将实际字符串传递给它。这将为您提供一个包含所有HTML对象的DOM。没有足够的信息来帮助您完成此操作。例如,您试图从HTML中提取什么?你已经试过什么了?没有足够的信息来帮助你。例如,您试图从HTML中提取什么?你已经试过什么了?