2
Answers

Parsing HTML in VB.NET

Photo of thomas oechel

thomas oechel

16y
7.3k
1

I have the following problem :

I have a file on my hardisk which name is tables.html. In this file are some tables coded in HTML. I want to readout all the rows and columns of the tables. It would be possible to kill out all the <TD> and <TR> by using string (also REXX) manipulation, but i am sure that there is a better way to do it. Isnt the WEBROWSER control already parsing the whole HTML ? Isnt it possible to browse in the complex datatype the ready parsed HTML ? I dont know how ... does anyone know ? Maybe the datatypes HtmlElement or HtmlDocument can help.....

Answers (2)