I have a combo box in which I have to display the dates from a database. The user has to select a date from the combo box to proceed further, but I don\'t know how to make the u
if (string.IsNullOrEmpty(ComboBox.SelectedText)) { MessageBox.Show("Select a date"); }