I want to be able to change the information for
Saving information with XML in C#
Okay, here's the deal. I'm writing a program in c# that requires the user to enter information into textboxes. I want the user to be able to click a button and the information is instantly saved into an XML file, to be loaded later. I've found some tutorials on doing this, but the problem is that the ones I found simply add new nodes to an xml file. For example if we have the XML file below:
Bob
password
I want to be able to change the information for and . The examples that I found all added new nodes onto the file and didn't edit the already existing ones.
I want to be able to change the information for
BrandonPosted Oct 31, 2008, 5:15 PM
BrandonPosted Oct 31, 2008, 5:03 PM
vinodPosted Oct 31, 2008, 6:06 AM
As per ur XML
Bob----> is InnerText.
here ChldNodes retrives the all the childnodes, if u want to replace that u can Edit or Replace the Inner Text with Method ReplaceNodeAt()..
U can thy this....