Hi im im trying to get attributes from two diffrent tag names..
<img class="chimg" alt="SOME TEXT" src=" #1 IMAGE LINK TO GET"/> <span>" #2 TIME TO GET" </span>" SOME TEXT "</a> </h3> <div> <a href=' #4 LINK TO
GET' onclick="window.open('Some link'); return true;" title=' #3 TITLE TO GET' >SOME TEXT</a>
I WANT TO PUT THESE IN ORDER FOR EACH LINK
DataGridView1.Rows.Add(""IMAGE LINK"", ""TIME TO GET"", ""TITLE TO GET"", ""LINK TO GET"" )
this is what i have so far
Dim ElementCollection As Windows.Forms.HtmlElementCollection
ElementCollection = WebBrowser1.Document.GetElementsByTagName("a")
For Each curElement As HtmlElement In ElementCollection
DataGridView1.Rows.Add(curElement.GetAttribute("title"), curElement.GetAttribute("href"))
Next
Please help..