ASP MVC: Custom Validation Attribute

前端 未结 7 916
说谎
说谎 2021-01-18 10:00

I\'m trying to write my own Custom Validation attribute but I\'m having some problems.

The attribute I\'m trying to write is that when a user logs in, the password w

相关标签:
7条回答
  • 2021-01-18 10:32

    Sorry to disappoint you but handling such a simple case like yours using Data Annotations could be a pain. You may take a look at this post.

    0 讨论(0)
提交回复
热议问题