The best technique that will work for you is as follows:
chkApplications.Items.FindByValue("2").Selected = true; chkApplications.Items.FindByValue("6").Selected = true;
OR you can just do it like ...
foreach (ListItem item in chkApplications.Items) { if (item.Value == "2" || item.Value == "6") { item.Selected = true; } }
Muhammad akhtar
source share