Microsoft
Software
Hardware
Network
Question : SelectSingleNode question
Label1.Text = xmlnode.SelectSingleNode("
head").Sel
ectSingleN
ode("title
").InnerTe
xt
this gives an error when Node doesnt exist. With what "IF"-function can i prevent this error? i think something with .lenth .. but i'm not sure.
Thanks in advanced
Answer : SelectSingleNode question
Read this if you don't want to use try/catch
http://stackoverflow.com/q
uestions/1
880379/avo
id-excepti
on-
on-xml-
selectsing
lenode-fun
ction
Random Solutions
Can you remove the Pasted From link when pasting a link in OneNote?
How do I bold the font in a listview?
Why does Update bring a lot of Null in the traget table ?
Help installing Server 2003 on RAID
How to set scroll position of a datalist inside a div tag using javascript?
MS Access Extended list - selections from saved list
Patient Days Across Multiple Months
Copy data from multiple workbooks with VBA
Use xml parameter in SQL Server select
Cybersource Error 80070005 System.UnauthorizedAccessE<wbr />xception: Retrieving the COM