Populate dropdown list box values from XML file RRS feed

  • Question

  • I have a textbox for City field and a drop down list box for office location which has to be filled up based on the City value.

    How to populate the values of drop down list box from an xml file keeping the above consideration.

    I am doing this in a asp.net user control and C# code behind

    In future i need not change the code every time. Its only the xml file i change and the corresponding city related office locations get listed in the drop down list box.

    Can anybody provide the solution.

    Thanks, Ranjana
    • Moved by spacewrangler Monday, January 10, 2011 1:01 AM asp.net question (From:Building Development and Diagnostic Tools for .Net)
    Friday, January 7, 2011 10:58 AM

All replies