Try this one.
cmbEmployeeStatus.SelectedIndex = cmbEmployeeStatus.FindString(employee.employmentstatus);
Hope that helps. 🙂
More Related Contents:
- How to bind a List to a ComboBox?
- List vs BindingList Advantages/DisAdvantages
- Get the value for a listbox item by index
- how to bind datatable to datagridview in c#
- How can I make a ComboBox non-editable in .NET?
- ComboBox SelectedItem vs SelectedValue
- Bind multiple ComboBox to a single List – Issue: When I select an item, all combo boxes change
- Data binding for TextBox
- Binding an enum to a WinForms combo box, and then setting it
- Binding Combobox Using Dictionary as the Datasource
- Populating a ComboBox using C#
- WinForms DataGridView – databind to an object with a list property (variable number of columns)
- ComboBox placeholder text (hint, cue banner, default text)
- Auto-width of ComboBox’s content
- How to populate c# windows forms combobox?
- ComboBox AutoComplete on SubString
- Change ComboBox Border Color in Windows Forms
- Find control by name from Windows Forms controls
- How to bind an enum to a combobox control in WPF?
- How to make Databinding type safe and support refactoring?
- How to create an Explorer-like folder browser control?
- How to change the color of winform DataGridview header?
- modifying the registry key value
- How to save shapes which I draw on a Panel as binary
- Simple animation using C#/Windows Forms
- Wait for file to be freed by process
- center MessageBox in parent form [duplicate]
- ComboBox draw image on selected item
- How to use dependency injection in WinForms
- How to create a Button that can send keys to a control without stealing the focus – Virtual Keyboard