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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dhirendra MisraPosted Feb 21, 2014, 4:27 AM
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 SankaranarayanPosted Feb 23, 2014, 1:32 AM