Dim web As New System.Windows.Forms.WebBrowser()
web.Navigate("http://www.hzctc.cn/OpenBidRecord/Index?id=36177CC9-5F91-473F-84E6-A2EFA35D6DD9&tenderID=969B1A8D-1A57-4A21-864F-A5E98F8288FB&ModuleID=486")
Do Until web.ReadyState = 4 AndAlso web.Document.GetElementById("Table1") IsNot Nothing
Application.DoEvents
Loop
Dim elems As object = web.Document.GetElementsByTagName("div")
For Each elem As object In elems
If elem.getattribute("classname") = "row cl" Then
If elem.InnerText.contains("工程编号") Then
msgbox(elem.GetElementsByTagName("span")(0).innerText)
ElseIf elem.InnerText.contains("建设单位") Then
msgbox(elem.GetElementsByTagName("span")(0).innerText)
End If
End If
Next
elems = web.Document.GetElementById("Table1").GetElementsByTagName("tr")
For i As Integer = 1 To elems.count-2
Dim tds = elems(i).getelementsbytagname("td")
msgbox(tds(0).InnerText & " " & tds(1).InnerText)
Next