home / software / tips and tricks / How can I bind XML to a dropdownlist?

How can I bind XML to a dropdownlist?

Updated:  10/21/2010 14:10 PM
Author:  Shiju Mathews

Status:    Resolved.


  • Create an XML file and save that in the hard drive.


  • Create a XmlDataSource and set DataFile as xml file location.
    Set DataSourceID of the dropdown to XmlDataSource.




    Note: The performance can be improoved by Caching the XmlDataSource.
  • Tags: How can I bind XML to a dropdownlist?
    Updated on: April 2024