I have the following xml file:
<contract>
<ID>4</ID>
<name>Name of contract</name>
<commoditycode>CS,CP</commoditycode>
</contract>
I want to have the comma separated values in "commoditycode" in a dropdown list like this:
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Text="CS" Value="CS" />
<asp:ListItem Text="CP" Value="CP" />
</asp:DropDownList>
in order to filter my list of contract. Is this possible? Many thanks!