While you are reading items from dropdown, you add below condition, this way option
never gets executed.
if (ddl.SelectedIndex != 0)
You can disable the button if selected index of your dropdown is zero (0).
This is assuming that you have a button click event which uses dropdown value.