I have a dropdownlist that is populated by an SQL database. I am trying to compare the selected values from the SQL dB and it is not working. Below is what I have so far.
if (dropdownlist.SelectedValue >= "5" && dropdownlist.SelectedValue <= "13")
{
//do something
}
Thank you in advance for any help.