M mp Feb 1, 2005 #1 is this statement correct? if(nFld==null) nFld = xmlDoc.SelectSingleNode(XPathFld); if(nFld==null) Thanks
is this statement correct? if(nFld==null) nFld = xmlDoc.SelectSingleNode(XPathFld); if(nFld==null) Thanks
M Morten Wennevik Feb 1, 2005 #2 Hi mp, Indeed it is correct, SelectSingleNode returns a Node, or if no node matches the search string (XPathFld) it returns null. if(nFld == null) MessageBox.Show("No matching node found");
Hi mp, Indeed it is correct, SelectSingleNode returns a Node, or if no node matches the search string (XPathFld) it returns null. if(nFld == null) MessageBox.Show("No matching node found");