In a datagridview I want to create/reset combobox cells in random locations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • engamor
    New Member
    • Apr 2010
    • 1

    In a datagridview I want to create/reset combobox cells in random locations

    I have a datagridview with a fixed number of columns. Certain cells shall be configured as comboboxes. This I achieve with the following code:

    ParameterDispla yGrid["ColumName","Ro wName"] = new DataGridViewCom boBoxCell();

    I then provide to populate the combobox cell and everything works.

    However: I may also need to revert later the same cell to a plain textbox, this I cannot figure out how to do.

    Thanks for some hint.
Working...