4
I am doing a production order project and I have 7 combobox picking the values from the same table (which are the raw materials). I’m using this code on load
form to load the combobox:
cmbMP1.DataSource = bllprodutos.DtMateriaPrima;
cmbMP1.DisplayMember = "Descricao";
cmbMP1.ValueMember = "ID";
cmbMP1.Refresh();
cmbMP2.DataSource = bllprodutos.DtMateriaPrima;
cmbMP2.DisplayMember = "Descricao";
cmbMP2.ValueMember = "ID";
cmbMP2.Refresh();
//.......
So far so good, when the form loads assembles the list of Combobox, but here comes the headache. When I select any value from any of them all the other Combobox have the same value, like I can’t select different products between them.
opaaaa Jbueno... I tested here and gave it right... vlw msm guy thank you/
– Douglas
Always at your disposal.
– Jéf Bueno