How to use min/max value properties of RangeValidator?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What are they mean when using with (default) data type string? string length

Thanks,
 
Hi

For min and max, normally youvalue should be beween min and max, that'
min <= yourvalue <= max
For string, the comparison is based on its Ascii value
So min and max should be refered to the string's Ascii value

Bin Song, MCP
 
Hi

I think it is not clearly to use min/max in a range validator for checking ASCII values instead of string length? How can I validate string length with existing validators

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top