Receiving contents of the table by WebBrowser?

1

I have the following table.

<table class="table1">
            <tbody>
                <tr>
                    <th></th>
                    <th>SEQ</th>
                    <th>LOGIN</th>
                    <th>WHATSAPP</th>
                    <th>E-MAIL</th>
                </tr>
                <tr>
                    <td><a href="http://www.google.com/">1</a></td>
                    <td><a href="http://www.google.com/"></a></td>
                    <td><a href="http://www.google.com/">name</a></td>
                    <td><a href="http://www.google.com/">99 999999999</a></td>
                    <td><a href="http://www.google.com/">[email protected]</a></td>
                </tr>
            </tbody>
        </table>

I would like to know how to get content from each TR to write to the Access Database.

Because so far I've only been able to get to this code.

Dim PageElement As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("table")
        For Each CurElement As HtmlElement In PageElement
            If (CurElement.GetAttribute("className") = "table1") Then
                TextBox1.Text = CurElement.InnerHtml

            End If
        Next
    
asked by anonymous 17.03.2017 / 23:48

0 answers