bert_cox

bert_cox

  • NA
  • 14
  • 0

Delete in Xml

Mar 17 2004 10:37 AM
If I want to delete a contact in XML using C# I can do this: XmlNode deleteContact = contactDoc.SelectSingleNode("descendant::Contact[FirstName='Sanddy']"); contactDoc.DocumentElement.RemoveChild(deleteContact); But I want to make a textbox where I give in the name and then that person is deleted, but I can't find how to do it. Thx in advance