Change ComboBoxColumn DataSource Dynamically

Dears,

I have a combobox1 and a DGV (a Comboboxcolumn inside the DGV) and now I want to change the change the datasource of the comboboxcolumn dynamically, depending on the SelectedValue of the combobox1. Which event handlers I should work on I try the EditingControlShowing, cast the combobox, parse the combobox1 and set the DataSource property of the Comboboxcolumn without luck. I guess I may not fully understand the event sequence. Please help.

TIA.


Answer this question

Change ComboBoxColumn DataSource Dynamically

  • Change ComboBoxColumn DataSource Dynamically