DataAnnotations - Disallow Numbers, or only allow given strings

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-28T19:54:51Z Indexed on 2010/05/28 20:12 UTC
Read the original article Hit count: 287

Is it possible to use ASP.NET MVC 2's DataAnnotations to only allow characters (no number), or even provide a whitelist of allowed strings? Example?

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc