Ramco Ramco

Ramco Ramco

  • 469
  • 2.8k
  • 394.4k

Linq Query

Sep 5 2022 4:42 PM

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)