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
how can I override the DateTime class to add a custom method??
Automatically run an application as another user
CTFMON_AU.EXE cannot get rid of --- a danger?
refreshing listbox value
Error: Installing Windows XP!
Windows 2008 Server Distributed DCOM Error
Access to Excel export questions
List Box Sort
EXECUTE permission denied on object 'xp_cmdshell' How to Allow call from stored procedure called by asp page.
One mailbox not receiving e-mail on exchange server 2003