I have a Status that looks for 13 statuses of a table:
cboStatus.DisplayMember = "nome";
cboStatus.ValueMember = "codigo";
cboStatus.DataSource = CartoesVTBLL.Status();
cboStatus.SelectedValue = "";
In this table I have the Constraint field that has the code of these statuses. However, this Constraint is to show, that is, when ComboBox
is in the code A and the table has Constraint "O; C; D" I will show only to change the statuses of O, C, and D. Basically I'm going to remove everything that is different from these statuses, I know I'll use the split to separate the codes but how can I get into that rule, maybe a
remove.items.where(x => x.codigo != status.codigo)