foreach (DataListItem li in imageDatalistID.Items) { CheckBox cb = li.FindControl("chkbox_1") as CheckBox; if (cb != null) { if (cb.Checked) { // do your code here . } else { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)