if (TextBoxHC50.Text < 50) { lblMessage.Text = "Your answer has increased more than 50%,"; } else if (TextBoxHC50.Text > 50) { }
int iTextBoxValue = Convert.ToInt32(TextBoxHC50.Text); if (iTextBoxValue < 50) { lblMessage.Text = "Your answer has increased more than 50%,"; } else if (iTextBoxValue > 50) { }
int
int.TryParse
int.Parse
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)