load xml c#

Jul 29 2010 3:27 PM

Hello. I am working on a GUI that has 3 drow down menus. Each of the drop down menus have 3 options, 2, 4, & 8. When I run the GUI I create an XML file with 3 tags, each tag holding the selected menu item as the innertext of that node.
 
What I want to do is open the XML file by clicking a button and the GUI will take the info inside the tags and load that selection.
 
For ex.
I run the GUI and have defaults set to 2,4,8 respectively. I change the selections to 8, 8, 8, and the XML updats so that it now reads
<drop1>8<drop1>
<drop2>8<drop2>
<drop3>8<drop3>.
 
When I open the GUI again and click to load this XML data, how can I set the drop down menus to the values in the XML (8, 8, 8)?

Answers (2)