check if a values has been selected from dropdown in c#
You're looking for
if(ddCountries.SelectedIndex > -1)
You should never be using exceptions to control program flow.
You're looking for
if(ddCountries.SelectedIndex > -1)
You should never be using exceptions to control program flow.