Vb.net 2008 - Looping through webbrowser table question.?

Ven T

New member
Dim Test As String = WebBrowser1.Document.
GetElementsByTagName("table").Item(3).
GetElementsByTagName("tr").Item(2).
GetElementsByTagName("td").Item(3).
InnerText

I use that code to pull information out of a table, but the table is dynamic and changes - how would I go about making a loop (while?) to go through each row and paste it say into a richtextbox for example.

richtextbox1.text = richtextbox1.text + Test (Add the line break code later, can't think of it at the top of my head.
 
Back
Top