Watch this example on YouTube
[RegularExpression(@"^([0-9]\d*)(?:\.[05]0?)?$", ErrorMessage = " {0} contains invalid characters")] [Display(Name = "Salary abc...")] public Decimal Salary { get; set; }
No comments:
Post a Comment