Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 是否通过webbrowser从表中获取内容?_Html_.net_Vb.net_Visual Studio_Webbrowser Control - Fatal编程技术网

Html 是否通过webbrowser从表中获取内容?

Html 是否通过webbrowser从表中获取内容?,html,.net,vb.net,visual-studio,webbrowser-control,Html,.net,Vb.net,Visual Studio,Webbrowser Control,我有下表 <table class="table1"> <tbody> <tr> <th></th> <th>SEQ</th> <th>LOGIN</th> <th>

我有下表

<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/">xxxxxxx@hotmail.com</a></td>
                </tr>
            </tbody>
        </table>

@Josh部分这是表中没有类、id或名称的问题。是否检查了HtmlAgilityPack?下一个URL应用于C#,但您可以了解HAP的用途:
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