DataGridViewComboBoxColumn dgvcbc = new DataGridViewComboBoxColumn();
            dgvcbc.HeaderText = "C6";
            string[] str = new string[] { "是", "否" };
            dgvcbc.DataSource = str;
            dataGridView1.Columns.Add(dgvcbc);

解决方案 »

  1.   

    DataGridViewComboBoxColumn col_3 = new DataGridViewComboBoxColumn();
    col_3.HeaderText = "XXX";
    string[] str = new string[] { "是", "否" };
    col_3.DataSource = str;
    dataGridView1.Columns.Add(col_3); 
      

  2.   

    代码上我看不出有什么问题,把field[0, 15]换成一个具体的值是可以正常运行的。
    比如:DataGridViewComboBoxColumn col_3 = new DataGridViewComboBoxColumn();
    string[] str = new string[] { "是", "否" };
    col_3.Name = "name"
    col_3.HeaderText = "是否";
    col_3.ValueMember = null;
    col_3.DisplayMember = null;
    //col_3.DataPropertyName = field[0, 15]; 
     this.dataGridView_System.Columns.Add(col_3); 
    col_3.DataSource = str;楼主看一下是否问题出在了别的地方。