SyntaxFix
Write A Post
Hire A Developer
Questions
if (combo1.SelectedIndex > -1) { // do something }
if any item is selected selected index will be greater than -1