if (isChanged) { XDocument doc = XDocument.Load("SavedData.xml"); var decendants = doc.Descendants().Where(s => s.Name == tb.Name).ToList(); foreach (XElement kid in decendants) { string value = kid.Value; string re= value.Replace(kid.Value, tb.Text); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)