I\'m pretty new here.
I have a form, and want to check if the user filled it in correctly. In the form there\'s a combo box; how can I build the \"if\" statement fo
if (combo1.SelectedIndex > -1) { // do something }
if any item is selected selected index will be greater than -1