List items = new List(); items.Add(new Items { Text = "A", Value = "a" }); items.Add(new Items { Text = "B", Value = "b" });
DataGridViewComboBoxColumn co = this.dataGridView1.Columns[0] as DataGridViewComboBoxColumn; co.DataSource = items; co.DisplayMember = "Text"; co.ValueMember = "Value";
this.dataGridView1.Rows.Add(new object[] { "a" }); this.dataGridView1.Rows.Add(new object[] { "b" });