The question is the same as the title, I have a ComboBox
called txtProfissional
and I set the same thing like this:
txtProfissional.DataSource = modelOff.profissionals.Where(p => p.idUnidade == oUsuario.unidade);
txtProfissional.DisplayMember = "nome";
txtProfissional.ValueMember = "id";
My intention is that the DisplayMember
property will list the nome
and funcao
columns.
Any tips?