Combobox and System.Data.DataRowView
问题 I have a method that is called when the main form is opened private void populateComboBoxes() { SqlCeDataAdapter breakfastAdapter = new SqlCeDataAdapter("SELECT DISTINCT recipeName FROM Recipe WHERE Category = 'breakfast' ", databaseConnection); SqlCeDataAdapter lunchAdapter = new SqlCeDataAdapter("SELECT DISTINCT recipeName FROM Recipe WHERE Category = 'lunch' ", databaseConnection); breakfastAdapter.Fill(breakfastDS, "Recipe"); lunchAdapter.Fill(lunchDS, "Recipe"); cmbBox1.DisplayMember =