Instead of:
configDoc.RemoveChild(projectNodes[i]);
Use:
nodeName.ParentNode.RemoveChild(nodeName);
http://stackoverflow.com/questions/20611/removing-nodes-from-an-xmldocument
Instead of:
configDoc.RemoveChild(projectNodes[i]);
Use:
nodeName.ParentNode.RemoveChild(nodeName);
http://stackoverflow.com/questions/20611/removing-nodes-from-an-xmldocument
No comments:
Post a Comment