30/04/12 7:14
omar89
ciao a tutti volevo sapere se qualcuno poteva aiutarmi per capire come si utilizza httpagilitypack in relazione a questo esempio:
http code:
io ho provato ad utilizzare come codice vb:
http code:
<TABLE id=uezszu_24 class="uiGrid fbPhotosGrid" cellSpacing=0 cellPadding=0> <TBODY> <TR> <TD class="vTop"> <DIV class=Wrapper><A class="uiMediaThumb uiScrollableThumb uiMediaThumbHuge" href="www.cccc.com/index.php" name=43563463 rel=theater aria-label="photo" ajaxify="dsgdgbdfgr45y6ghd"><I style="BACKGROUND-IMAGE: url(http://www.fressdgf.com/image.jpg)"></I></A></DIV></TD> </TR> </TBODY> </TABLE>
io ho provato ad utilizzare come codice vb:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim site As HtmlAgilityPack.HtmlWeb = New HtmlWeb() Dim document As HtmlAgilityPack.HtmlDocument = site.Load("https://www.site.com") For Each table As HtmlNode In document.DocumentNode.SelectNodes("//tr") ListBox1.Items.Add(table.InnerText) Next End Sub
aaa