Check this
string qry;
foreach (ListItem item in CheckBoxList2.Items)
{
if (item.Selected)
{
qry = "INSERT INTO DART_IDC_ADD_PROC_MAP(DAR_ID,ADD_PROC_SEL) VALUES (123,'" + item.Text + "')";
SqlCommand cmd = new SqlCommand(qry, con1);
con1.Open();
cmd.ExecuteNonQuery();
con1.Close();
}
}
I hope conection string is ok and "DAR_ID" is not primary or unique and "ADD_PROC_SEL" is of varchar/nvarchar or char/char