开发者

asp.net mvc datannotation password validate

开发者 https://www.devze.com 2023-01-04 21:51 出处:网络
how can i validate a password with asp.net mvc 开发者_运维问答dataanotation, the password must be between 6 and 16 charactersLook up the StringLengthAttribute in data annotations.

how can i validate a password with asp.net mvc 开发者_运维问答dataanotation, the password must be between 6 and 16 characters


Look up the StringLengthAttribute in data annotations.

http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.stringlengthattribute(v=VS.95).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消