title: datagridview with datasource and combobox
body: <p>I have a datagridview with a datasource attached to it made of a custom datatable:</p>
  
  <p>DataTable:
      0 = Dictionary
      1 = string
      2 = string</p>
  
  <p>the datagridview is editable, however for column 0 I need to show a combobox instead of a text field.  How do I go about achieving this?</p>
  
  <pre><code>internal Dictionary&lt;int, string&gt; products_list = new Dictionary&lt;int, string&gt;();
  products_list.Add(0, "Test Product 1");
  products_list.Add(1, "Test Product 2");
  
  
  lines.Columns.Add(new DataColumn("Product", products_list.GetType()));
  lines.Columns.Add(new DataColumn("QTY", typeof(int)));
  lines.Columns.Add(new DataColumn("Description", typeof(string)));
  
  dgvQuoteLines.DataSource = lines;
  dgvQuoteLines.Columns[0].Visible = false;
  </code></pre>
  
  <p><strong>* UPDATE *</strong>
  I have now managed to add the combobox to the datagridview but sadly the datasource isn't working!</p>
  
  <pre><code>DataGridViewComboBoxColumn colbox = new DataGridViewComboBoxColumn();
  colbox.DataPropertyName = "0";
  dgvQuoteLines.Columns.Add(colbox);
  </code></pre>