[Solved] how to add value from one combo box to another combo box


If I have understand you correctly, this code will help you

 private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
    {
        //If you need, clear second combo box from old values before you copy
        //comboBox2.Items.Clear();

        foreach (var item in comboBox1.Items)
        {
            if (item != comboBox1.SelectedItem)
            {
                comboBox2.Items.Add(item);

                //If you need to remove item that were copied to second combo box, from the first
                //comboBox1.Items.Remove(item);
            }
        }
    }

solved how to add value from one combo box to another combo box