I have a checkboxlist on a c# page where when a box is checked it saves its value in the following format to a textbox
String values = "";
for (int i=0; i< cbl.Items.Count; i++)
values += cbl.Items[i].Value + ",";
values = values.TrimEnd(',');
This works ok however the problem is i want to be able to audit the values i save in the DB. For example i may want to do a count how many times 1 appears or 2 etc..
What is the best way to do this?
View Complete Post