Html table question

K

KDV

I have html table contents (Just dummy text for testing)
<table>
<tr>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
</tr>
<tr>
<td>21</td>
<td>22</td>
<td>23</td>
<td>24</td>
</tr>
</table>

The question is that I am looking for a class which can accept this Html
table contents and provide nice interface to parse it like getting how many
rows this table has and other attributes(getting text in each cell etc.). Is
there any class available in .NET ? I tried to use HtmlTable class but it
does not accept InnerHtml as its property.

Thanks in advance
KDV
 
K

KDV

I got an idea. I think I can use IHTMLDocument2 interface to parse Html. If
anyone knows better and easy solution I shall be thankful.

KDV
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top