/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public string Collection { get { foreach (ListItem cBox in Collections.Items) { if (cBox.Selected) { sb.Add(cBox.Value); } } return string.Join(",", sb.ToArray()); } }