title: Change Textboxcell to a Comboboxcell at run time
body: <p>I'm using MySQL .net connector to fill a Datagridview using <code>Mysqladapter</code> and <code>Datagridview.Bindingsource</code>. That works good, but I want to change one thing:</p>
  
  <p>In the table which is filled to the DataGridview, there is a column with a text type. The cells in this columns are displayed as a <code>Datagridviewtextboxcell</code> in the datagridview, but I want to change it to <code>DataGridviewComboboxCell</code> (the users should select between ~10 items). </p>
  
  <p>I already tried a lot but nothing worked as it should. The Columns in the DataGridview are readonly, I cannot change <code>DefaultCellTemplate</code> to a <code>DataGridviewComboboxCell</code>, cause it doesn't inherit <code>DataGridviewTextboxcell</code>.</p>
  
  <p>I also tried this: <a href="https://stackoverflow.com/questions/6533976/gridview-convert-textboxcell-to-comboboxcell-and-back">Gridview - convert textboxcell to comboboxcell and back</a> and I think my problem could be solved over this way, but with this solution I have also 1 problem: It doesnt show a DropDown Button.</p>
  
  <p>Any help will be greatly appreciated.</p>