Datagridview execute code on change of the column combo box value?

I typically use ComboBox_TextChanged events and you can use those within a datagridview as well, as you add them.

I typically use ComboBox_TextChanged events and you can use those within a datagridview as well, as you add them: comboBox1. TextChanged += delegate(object sender, EventArgs e) { // Do Whatever }.

Do a DataGridView1.Refresh() on the combobox change event.

I can't find one. Can you please give me the name of the exact event. I think I could do that by cell value change, but I thought there is easier way to do it buy getting the column combo box change event.

– bobek Aug 26 at 14:53 If you want to get the event of an element change, right click on that element, and click properties, and click on the "lightning" button, you will see a whole list of events. And when you see the column combo box value change, double click on that, and it will generate the event function you needed. – roymustang86 Aug 26 at 15:33 Yes, that's good for regular combo box.

But this combo box is inside a column in a data grid view, so I can't just select it. I have to select the whole data grid view. – bobek Aug 26 at 16:14 Is it of datatype DataGridViewComboBoxCell or DataGridViewComboBoxcolumn?

– roymustang86 Aug 26 at 18:37 Did you figure out the solution? – roymustang86 Aug 30 at 13:14.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions