Selecting item in databound combobox
问题 I believe this question is kinda new-bie, but I can't solve it in correct way. Brief description: I have an inherited from ComboBox class that does some data bindings in constructor: var mdl = new Model(); ValueMember = "id"; DisplayMember = "unit"; DataSource = mdl.getUnits(); All good here. The combobox is filled by required data. Then I have another form with a function editIngridient. The function is following; public bool editIngridient(int id) { currentId = id; var row = mdl