I am trying to put a check in textbox for value not greater then 100 but i am getting formatExeception can anybody help in this regard.. Thanks in Advance.

```
private void textBox1_TextChanged(object sender, EventArgs e)
{
    if (Int32.Parse(textBox1.Text) > 100)
    {
        MessageBox.Show("No. Of Elements Must be Less Then 100");
    }
}

```