friends i have a textbox and when i write a name in it and and press on save button it should save in xml file.
and after that when i again load the form that saved value should be retrieved in combobox.
please help me.....
Saving textbox to xml file.
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Oct 30, 2014, 2:53 AM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Oct 29, 2014, 11:39 PM EDT
XDocument doc =
new XDocument(
new XElement("ParentNode",
new XElement("Value", txtBox.text)
)
)
);
Shweta LodhaRank #31 · 39.8K reputationPosted Oct 29, 2014, 11:41 PM EDT
http://www.codeproject.com/Articles/6233/Populating-a-drop-down-control-from-an-XML-file
raju patil52 reputationPosted Oct 30, 2014, 1:16 AM EDT
please help.......
raju patil52 reputationPosted Oct 31, 2014, 1:57 AM EDT