// for anynumber from zero to infinity [RegularExpression("^[0-9]*$", ErrorMessage = "Enter Valid Number")] // for number greater than zero [RegularExpression("^[1-9][0-9]*$", ErrorMessage = "Enter Valid Number")]