When I try to use a masked textbox in my project, I saw that 00000
and 99999
give the same result of _____
in my masked textbox.
Is 0 and 9 is the same in a mask of my masked textbox? If any difference: what are all that?
Please explain.
Take a look at the documentation of the Mask property:
Masking element Description
--------------- -----------
0 Digit, required.This element will accept any single digit between 0 and 9.
9 Digit or space, optional.
They're not the same, but every piece of the mask that is not a literal character to be included (like date or time separators or the dots in an IP address) will become an underscore to indicate that they are a place to enter stuff.