TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anupam Kakkar
NA
10
0
Fill DropDownList in GridView with one duplicate column
Jul 28 2011 8:17 PM
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,
Reply
Answers (
6
)
Upload
Error in web.config fig