1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
时间: 2024-10-25 03:02:22
1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]