![enter image description here][1] [1]: https://i.sstatic.net/1jBxu.png When selecting "MS SQL Server" in the dropdownlist and also choose "Beginner" in the CheckboxList i want it to be displayed in the Textbox afther clicking the button "Add" So the result should be in the textbox MS SQL Server - Beginner In my case the code looks like this and it only displays "Beginner" in the textbox and not also the value i select in the dropdownlist switch (DropDownListDataBase.SelectedItem.Value) { case "MS SQL Server": TextBoxResultDataBaseSkills.Text = DropDownListDataBase.SelectedItem.Value; break; case "MSSQL": TextBoxResultDataBaseSkills.Text = DropDownListDataBase.SelectedItem.Value; break; case "MS Access": TextBoxResultDataBaseSkills.Text = DropDownListDataBase.SelectedItem.Value; break; } foreach (var x in CheckBoxListDataBase.SelectedItem.Value) { if (CheckBoxListDataBase.SelectedItem.Value == "Beginner") TextBoxResultDataBaseSkills.Text += x.ToString(CultureInfo.InvariantCulture); else { if (CheckBoxListDataBase.SelectedItem.Value == "Medium") TextBoxResultDataBaseSkills.Text += x.ToString(CultureInfo.InvariantCulture); else { if (CheckBoxListDataBase.SelectedItem.Value == "Expert") TextBoxResultDataBaseSkills.Text += x.ToString(CultureInfo.InvariantCulture); } } } } // Is there any wrong with this code?