Combobox in datagridview, key press rotation?

With out any code it's hard to tell what the error is, however, my theory is that the DataSources for the ComboBoxes are pointing to same instance of one object. If you select a value in one combo box, all are now at this position. So when you go to the second combo box and hit "A" again, it will move to the next A-word in the list.

With out any code it's hard to tell what the error is, however, my theory is that the DataSources for the ComboBoxes are pointing to same instance of one object. If you select a value in one combo box, all are now at this position. So when you go to the second combo box and hit "A" again, it will move to the next A-word in the list.

You may need to instantiate the object, that is providing the data source to the combos, for each combo box so each one has its own list - instead of pointing to the same place in memory. If this is not the answer for you, then please provide some code.

Thanks for the answer. That was my theory aswell, I will try to bind them in another way. I don't really know what code to post, I do most of the work from the properties window for the datagridview.

Thanks again. – Martin Sep 16 at 6:27.

Awesome! I think I have found the answer, one work day later...with some help from LINK. I had to bind every datarow's DataGridViewComboBox cell after the databinding is complete, and that is trigged by the datagridview's event databindingcomplete.

Cheers blandau, you gave my brain some hope again to solve it :).

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