1
I have a ComboBox
Status searching approximately 13 status of a table:
cboStatus.DisplayMember = "nome";
cboStatus.ValueMember = "codigo";
cboStatus.DataSource = CartoesVTBLL.Status();
cboStatus.SelectedValue = "";
In this table I have the field Restriction who owns the code such status. However, this Restriction is to show, ie when the ComboBox
is in the code To and in the table has Constraint "O;C;D" I will show only to change the status of O,C and D. Basically I will remove anything other than this status, I know I will use the split to separate the codes but as I can get in this rule, maybe a
remove.items.where(x => x.codigo != status.codigo)
Is that would be a point I wanted to reach, unfortunately did not work very well but thanks anyway!
– Voltz
Why didn’t it work?
– Vítor Martins