David Modugno
asked on
VB.net populate combobox from xml file
i have a vb.net windows forms application. I want to read in an xml file and populate a combo box
Here is the an example of what will be in the xml file
I want to read in the information from the xml file and have the Name be the text entry (what is displayed to the user) for a combo box and the value be the value of the combo box... for the life of me I cant figure it out
the comobox name = cmbSiteInfo
Thanks so much for the help
Here is the an example of what will be in the xml file
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Main>
<SiteInfo>
<Element Name="NewYork" Value="9.9.9.9" />
<Element Name="LA" Value="2.2.2.2" />
<Element Name="Boston" Value="3.3.3.3" />
</SiteInfo>
</Main>
I want to read in the information from the xml file and have the Name be the text entry (what is displayed to the user) for a combo box and the value be the value of the combo box... for the life of me I cant figure it out
the comobox name = cmbSiteInfo
Thanks so much for the help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked perfectly.. thank you
Glad to be of assistance...
ASKER