如何阅读在C#中的HTML表 [英] How to read html table in c#
本文介绍了如何阅读在C#中的HTML表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<table id="mytable" runat="server">
<thead>
<tr>
<td >
</td>
<td>
Minute
</td>
<td
Category Name
</td>
</tr>
</thead>
<tbody>
<tr>
<td >
10
</td>
<td>
</td>
<td>
<span></span>
</td>
</tr>
<tr >
<td>
</td>
<td>
15
</td>
<td>
<span></span>
</td>
</tr>
</table>
这是我的HTML表格在这里,我必须找到第一个单元第二个单元格在C#中的每一行的第三个单元格的数据怎样才能找到。
This is my html table Here i have to find first cell second cell third cell data of each row in c# How can i find.
推荐答案
You may try Html agility pack API to parse the html text.
这篇关于如何阅读在C#中的HTML表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文