To validate for a string length in Model property, we use StringLength attribute. ... [StringLength(20, MinimumLength = 4, ErrorMessage = "Must be at least 4 ...
確定! 回上一頁