>
> There is a similar usage of DataAnnotations described in an article at
> CodeProject -
> http://www.codeproject.com/Articles/256183/DataAnnotations-Validation-for-Beginner
>

Ta, I eventually stumbled on that one too. For ages I couldn't find
anything that actually used the attributes and I thought they might be only
used internally for DB entities. But I finally found the Validator class
(which has a rather strange class!). I made a custom validation attribute
and it works pleasantly -- *Greg*

Reply via email to