1
Answer

Linq Query

Ramco Ramco

Ramco Ramco

2y
708
1

Hi

if (lstParticipants.Items.Count > 0)
                {
                    for (int i = 0; i < lstParticipants.Items.Count; i++)
                    {
                        if (lstParticipants.Items[i].Selected)
                        {
                            ParticipantCollection += lstParticipants.Items[i].Value + ",";
                        }
                    }
                }
                ParticipantCollection = ParticipantCollection.TrimEnd(',');

In ParticipantCollection i have multiple participants with comma separated values. I want to retreive data from a table which have 

Participant collection values.

Thanks

Answers (1)