1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
时间: 2024-11-08 23:32:33
1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]