By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,758 Members | 1,264 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,758 IT Pros & Developers. It's quick & easy.

I want xml nodes to add Dropdownlistbox...

P: 41
<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??
Jun 20 '08 #1
Share this Question
Share on Google+
2 Replies


Plater
Expert 5K+
P: 7,872
What ?
Jun 20 '08 #2

Curtis Rutland
Expert 2.5K+
P: 3,256
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.
Jun 20 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.