Ok, i've encountered some new problems :)
When the form is shown, the following line of code is executed:
Code:
cbx_type.DataSource = prog.HentTyper();
cbx_type is the ComboBox in question, and the
"prog.HentTyper()" method returns an array of strings. This works fine, but now there doesnt seem to be an editable field in the ComboBox. It is possible to erase one of the existing choices and enter new text but whenever someone enters any text (and selects this text when submitting) the following if-test will execute:
Code:
if(cbx_type.SelectedText.Length < 1)
This tells me that there is something wrong somewhere :) Anybody care to explain?