Gett value from single node

Topics: Developer Forum, User Forum
Apr 23, 2012 at 10:28 AM

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 ??