Fill DropDownList in GridView with one duplicate column
Hi,
I am facing an issue in GridView using a DropDownList. Please help me, I would appreciate it a lot!
legacy_emblem test1
legacy_emblem test2
legacy_emblem test3
The above is the data I need to insert into a GridView.
Here is how I want it.
<asp:Label> will have only one value "legacy_emblem"
<asp:DropDownList > will have "test1", "test2", "test3"
So, looking at the GridView is should show only 1 Row, like this:
<asp:Label Text="legacy_emblem">
<asp:DropDownList >
<asp:ListItem Value="test1" Text="test1">
<asp:ListItem Value="test2" Text="test2">
<asp:ListItem Value="test3" Text="test3">
</asp:DropDownList>
but instead, it shows all the 3 Rows. Also, The DropDownList shows items Vertically and not Horizontally,
like this:
t
e
s
t
1
How do I do it.
Thanks,