Hi
I want to Mask my MaskedTextBox.I used Custom Mask in design.but when it shows my preview Mask,it's quiet different.I attached the pic.plz Guide me.
thx.

Recommended Answers

All 3 Replies

When I do the same I get ____/__/__
I typed zeros, I assumed you did too.

I did what you said and again as you see the same problem.

I also tried it again. No problem.
I'm using Visual Studio C# 2008 Express.
Created a new forms application. Dropped a Masked textbox on the form and selected the Mask property to change it to your custom value.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.