hi friends,
I have search this on this net but most XML data they have used only with one attributes. My XML structure as follows
How do I load above data to a combobox, have Display Member as Name and the Value Member as ISO?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dhirendra MisraRank #4,173 · 360 reputationPosted Feb 20, 2014, 11:27 PM EST
You can make use of DataSet.
1. Create a new dataset.
2. Use the dataset to read the XML file
3. Bind the dataset to the drop down list.
Refer the following which has similar XML as you have.
http://www.itjungles.com/the-easiest-way-to-populate-drop-down-list-with-xml-in-c.html
above article is for web dropdown list but approach is going to same.
for combobox you can refer:
http://www.codeproject.com/Questions/551677/populatepluscomboplusboxplusinplusc-23
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Feb 22, 2014, 8:32 PM EST