diff --git a/FuelAccounting/FuelAccounting/Forms/FormCar.cs b/FuelAccounting/FuelAccounting/Forms/FormCar.cs index 7ef1a7f..4ad9c6a 100644 --- a/FuelAccounting/FuelAccounting/Forms/FormCar.cs +++ b/FuelAccounting/FuelAccounting/Forms/FormCar.cs @@ -24,7 +24,7 @@ namespace FuelAccounting.Forms textBoxModel.Text = car.Model; comboBoxCategory.SelectedItem = car.Category; - comboBoxDriverId.SelectedItem = car.DriverID; + comboBoxDriverId.SelectedValue = car.DriverID; _carId = value; } catch (Exception ex)