I am checking for values in a textbox to trigger a conditional statement, but am getting error messages.
if (txtAge.Text = \"49\") || (txtAge.Text = \"59\")
you cannot use "=" to compare strings. in this case you could use txtAge.Text.comparedTo("49") == 0 and so on