How to validate string length?
By aj li
EnterpriseLibrary Validation using StringLengthValidator
[StringLengthValidator(0, RangeBoundaryType.Inclusive, 30, RangeBoundaryType.Inclusive,
MessageTemplate = "Must not exceed 30 characters.")]
How to validate string length? (1115 Views)