XmlElement root = doc.DocumentElement; System.Xml.XmlElement conditie =(System.Xml.XmlElement)root.ChildNodes[0].ChildNodes[0]; string dbPath = conditie.ChildNodes[0].InnerText; oldCd = root.SelectSingleNode("/Information|Datas|[DataBasePath ='" + dbPath + "']");
Error: Expression must evaluate to a node-set.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)