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