title: Accessing a Combobox inside a dataGridView Column?
body: <p>I'm working on a scheduling program, and inside the dataGridView, we have a few ComboBox Columns that are populated by 3 entries upon creation, but I wanted to be able to add more as the user creates them, but I have no idea how you would access the combobox data. Any help is appreciated!</p>
  
  <pre><code>// this is initialized in a separate part.
  /* System::Windows::Forms::DataGridView^ dataGridView;*/
  
  System::Windows::Forms::DataGridViewComboBoxColumn^ newCol = 
      (gcnew System::Windows::Forms::DataGridViewComboBoxColumn());
  
  dataGridView-&gt;Columns-&gt;AddRange(gcnew cli::array&lt; System::Windows::Forms::DataGridViewComboBoxColumn^  &gt;(1) {newCol});  
  
  // add the choices to the boxes.
  newCol-&gt;Items-&gt;AddRange("User inputted stuff", "More stuff", "Add New..."); 
  </code></pre>