title: datagridview combobox list color changed to black c#
body: <pre><code>private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
      {
          int n = dataGridView1.CurrentCell.RowIndex;
          if (dataGridView1.CurrentCell.ColumnIndex == 0)
          {
              var cbCell = dataGridView1.Rows[n].Cells["category"] as DataGridViewComboBoxCell;
              DataTable dt = c1.ret("select category from category").Tables[0];
              cbCell.DataSource = dt;
              cbCell.ValueMember = "category";
              cbCell.DisplayMember = "category";
              cbCell.FlatStyle = FlatStyle.System;
          }
      }
  </code></pre>
  
  <p>i am trying to set datasource for datagrid combobox but when i set the datasource. the dropdown list of combobox color turns to black .i have tryed some code for setting the background color but every code  failles .now i am stuck with my project. please help me....</p>