HELP!!! How to prevent Input of Alphabets in the code below

You can use the Integer.TryParse method to validate a String and also, if it passes, convert it to an Integer. You'll find plenty of examples online and you should also read the MSDN documentation for that method. You'll find it under Int32.TryParse.
 
Back
Top