Hi I want to use
[StringLengthValidator(1, 10, MessageTemplate = "ZipCode Invalid Length")]
I have also added those Libraries
But Still I am not able to use it.Its not comming its showing
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators.StringLengthValidator is not an attribute class
So Can U please guide me.
Please add reference of System.ComponentModel.DataAnnotations.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)