I see lots of posts on this but not using ints I have the line converting the int declaring the grade as the value which is chosen in the combo_grade but my if statment isnt working, im trying to have combo_sub show the message if the combo_grade is equal to 9.
private void combograde_SelectedIndexChanged(object sender, EventArgs e)
{
if (combograde.SelectedValue == "9")
{
combosub.Items.Add("If this shows it works");
}
}