private void LeaveHolidaySet_Load( object sender, System.EventArgs e) ... { SqlDataReader dr; dr = ConnectServer.GetReaderHoliday(); if(dr!=null) ...{ while(dr.Read()) ...{ clList.Items.Add(dr["HolidayDate"]+"-"+dr["HolidayName"]); } } } private void btnDel_Click( object sender, System.EventArgs e) ... { string sql="delete from tblHoliday where"; foreach (string item in this.clList.CheckedItems) ...{ item. message+=item.ToString(); } MessageBox.Show(message); }