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?

Sandeep KumarPosted Jun 28, 2018, 6:31 AM
Sandeep KumarPosted Jun 26, 2018, 11:35 AM
Hiten PandyaPosted Jun 26, 2018, 10:39 AM
Sandeep KumarPosted Jun 26, 2018, 10:19 AM
Hiten PandyaPosted Jun 26, 2018, 10:14 AM
1. separator means with what sign you want separation
2. array of object,array of string,IEnumerable array of string
3. startindex
4. count