3

I have a bounded combobox inside datagridview ( DataGridViewComboBoxColumn ) and I want to hide selected item of that combobox in the next row of the grid

for example :

combo box values are,

[value 1 ]                   
[value 2 ]                       
[value 3 ]                     
[value 4 ]

ok. Just think there is 4 rows in my datagridviw, now when I select [value 1] from the combobox I dont want that value to the next combo beneath the first row (means I don't want that value to the next row combobox )

Is there any solution ?

Arun CM
  • 3,345
  • 2
  • 29
  • 35

1 Answers1

0

How about Using the Linq?

XXXX.where(x => x.value!=1).ToList()
alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195
carbonara
  • 49
  • 6