C# how to use a combobox with a datatable to load data into another table?
<p>So basically I have a combobox with a <code>bindingsource</code> and a <code>datatable</code>. Basically when you choose one of the items in the combobox list it will grab the data in the datatable I have hidden, but I'd like to be able to press a button and take that data and place it in a second datatable that the user can view. The datatable that will be viewable will only have a maximum of 10 rows and needs to be able to add and remove different choices. Not sure if this makes any sense because I'm really new to c# and programing in general. here is a copy of my code thus far.  So the end result should be a <code>combobox</code> with a <code>dropdownlist</code> of multiple choices, all with data in a hidden datatable. Once one is chosen a button is pressed to add the data and selection to a new datatable row, adding up to a maximum of 10. Not sure if this is possible any help is appreciated. </p>

<pre><code>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication15
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        DataTable dtTest;
        BindingSource bs;
        private void Form1_Load(System.Object sender, System.EventArgs e)
        {
            dtTest = new DataTable();
            dtTest.Columns.Add("Class", typeof(string));
            dtTest.Columns.Add("# of CC", typeof(int));
            dtTest.Columns.Add("Spread pressure", typeof(bool));
            dtTest.Columns.Add("# of Defensive CD's", typeof(int));
            dtTest.Rows.Add("test", 40, false, 2);
            dtTest.Rows.Add("test2", 10, true, 3);
            dtTest.Rows.Add("test3", 90, true, 4);
            dtTest.Rows.Add("test4", 4, true, 4);
            bs = new BindingSource();
            bs.DataSource = dtTest;
            dataGridView1.DataSource = bs;
            comboBox1.DataSource = bs;
            comboBox1.DisplayMember = "Class";
            comboBox1.ValueMember = "Class";
            comboBox2.DataSource = bs;
            comboBox2.DisplayMember = "Class";
            comboBox2.ValueMember = "Class";
            label1.DataBindings.Add(new Binding("Text", bs, "Class"));
            label2.DataBindings.Add(new Binding("Text", bs, "# of CC"));
            label3.DataBindings.Add(new Binding("Text", bs, "Spread pressure"));
            label4.DataBindings.Add(new Binding("Text", bs, "# of Defensive CD's"));
        }
    }
}
</code></pre>
