1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
1.密码验证
MVC3
[System.ComponentModel.DataAnnotations.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]
MVC4
[System.Web.Mvc.Compare("Password", ErrorMessage = "密码和确认密码不匹配。")]