I want xml nodes to add Dropdownlistbox...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Question123
    New Member
    • Feb 2008
    • 41

    #1

    I want xml nodes to add Dropdownlistbox...

    <root>

    <Element>
    <add key="1" value="1"/>
    <add key="2" value="2"/>
    <add key="3" value="3"/>
    <add key="4" value="4"/>
    </Element>

    <Items>
    <add key="5" value="5"/>
    <add key="6" value="6"/>
    <add key="7 value="7"/>
    <add key="8 value="8"/>
    </Items>
    </root>


    Hi

    from abvoe xml i want to add just <Element> child nodes to dropdown.

    that is :-
    <add key="1" value="1"/>
    <add key="2" value="2"/>
    <add key="3" value="3"/>
    <add key="4" value="4"/>

    so how could be done??
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What ?

    Comment

    • Curtis Rutland
      Recognized Expert Specialist
      • Apr 2008
      • 3264

      #3
      You absolutely need to learn how to phrase your questions better to get any help. Fortunately for you, I managed to parse your question.

      Here is some good sample code that is doing almost exactly what you want. Hope you understand C#, because you didn't tell us what language you are using either.

      Before you make another thread, do 2 things:
      Make sure that you mention language/technology:
      C#/ASP.NET, or VB.NET/Windows Forms, or C#/Console App...something like that.
      And make sure that you have written an easily understandable question.

      Comment

      Working...