DataGridViewComboBoxCell用法问题
请问我使用 DataGridViewComboBoxCell时,在指定单元格中显示下拉框,这样写问什么不行,谢谢各位啦DataGridViewComboBoxCell dgvc1 = new DataGridViewComboBoxCell();
dgvc1.Items.AddRange(new object[] { "ID", "X", "Y", "Z", "Ca", "Mg", "Na","K","NaK","HCO3","CO3","Cl","SO4" });
DataGridView1.Rows[0].Cells[1] = dgvc1;
显示结果,下拉框点击没有变化