Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Gett value from single node

$
0
0

I try get single value from this node:

http://gg.pl/dysk/5TppYI-rUkJB5DppYI-rauA/depozyty%20z%C5%82otowe%20-%20WIBOR%206M-121502.png

from this site :

http://www.money.pl/pieniadze/depozyty/zlotowe/WIBOR6M,depozyty.html

 

        Dim text As String
        Dim strona As New HtmlAgilityPack.HtmlWeb()
        Dim doc As New HtmlAgilityPack.HtmlDocument()
        doc = strona.Load("http://www.money.pl/pieniadze/depozyty/zlotowe/WIBOR6M,depozyty.html")
        text = doc.DocumentNode.SelectSingleNode("//html/body/div[4]/div[2]/div[2]/div[2]/div[2]/div/table/tbody/tr/td[2]").InnerText

I have error when try gett vale:

System.NullReferenceException was unhandled 

So, where I have error ??

 

 


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>