Nitin Bhardwaj

Nitin Bhardwaj

  • NA
  • 15.9k
  • 13m

Bind Dropdownlist with xml file in asp.net

Feb 28 2014 3:51 AM
Hi,
I have a xml file and i wann bind these file in dropdownlist.
I wann on city and country code in dropdown list.


Xml Files Content
<DocumentElement>
<Table1>
<id>1</id>
<name>Saint John</name>
<city_code />
<country_code>CA</country_code>
</Table1>
<Table1>
<id>2</id>
<name>Baddeck</name>
<city_code />
<country_code>CA</country_code>
</Table1>
<Table1>
<id>3</id>
<name>Banff</name>
<city_code />
<country_code>CA</country_code>
</Table1>
 </DocumentElement>

Answers (4)