I am working on a winforms app using C# and wanted to add a save feature to a few parts where the user would be bale to enter text into a textbox and have it saved for next time.
how is this implemented in winforms? I am trying a local xml file and failing to persists the text while being able to read it. data.xml is the local file in my project root folder.
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(@"(full path)\visual studio 2015\Projects\My_helper\data.xml");
string subject = xmlDoc.DocumentElement.SelectSingleNode(@"./content/reminder_email/subject").InnerText.ToString();
string body = xmlDoc.DocumentElement.SelectSingleNode(@"./content/reminder_email/body").InnerText.ToString();