An error message can be specified on using the ErrorMessage property on the attribute. First add the namespace: using System.ComponentModel.DataAnnotations;.
確定! 回上一頁