title: C# comboBox from dataGridView?
body: <p>I want combobox with values from one cell datagridview. i try this, but don't work :( any ideas?</p>
  
  <pre><code>            comboBox1.Items.Clear();
              foreach (DataGridViewRow row in dataGridView1.Rows)
              {
                  comboBox1.Items.Add(row.Cells[2].Value.ToString());
              }
  </code></pre>