Solved!
Last edited by frankwhite; Mar 17th, 2007 at 03:49 PM.
The very first thing apparently wrong with your code is that you are comparing string value with numbers. Try Code: Convert.ToInt32(Text1.Text) > 0 and then see what the results are.
Convert.ToInt32(Text1.Text) > 0
Forum Rules