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
Sandeep Kumar
376
4.4k
1.1m
Comma seperated data in Dropdownlist
Jun 26 2018 7:51 AM
Hi Guys,
I have one dropdown and I need to display data in dropdown as comma seprated like a,b,c
Here is my code:
rddlMuster.DataTextField = "ZoneName";
rddlMuster.DataValueField = "ZoneID";
rddlMuster.DataSource = objUtilsDAO.GetZonesByYardID(lstYards.FirstOrDefault().YardID).Where(zm => zm.IsCS == false && zm.ZoneType == (int)Enums.ZoneType.Mustering_Zone).OrderBy(zm => zm.ZoneName);
rddlMuster.DataBind();
Can anyone please help me to get comma seprated value in dropdown while working with linq in asp.net?
Reply
Answers (
5
)
Pass C# DataTable to Oracle Stored Procedure as a parameter
Regarding Constructors