This causes a fatal error if the input is not a number.

if ((float.Parse(x.Text) >- 1)||(float.Parse(x.Text) < 9999999))

How do I stop the the conversion if the user enters in a character?

How do I check to see if what was entered was a character or number?