Linq to object can help us to simplify the coding of retrieving the selected value from a checkboxList. It can provide a better performance than running a for loop, and make the code more clear. For Loop foreach (ListItem li in chkList.Items) { if (li.Selected == true) { str += li.Text + ", "; }... Read more »
↧