Posted on 2006-06-12
I am trying to use the Masked TextBox for date.
In the database data is stored as 1/12/2006 not 01/12/2006
I specified the _ _/_ _/_ _ _ _ for the mask and it works fine for entries with double digits for the month like
12/01/2006. If I have 1 digit months 1/1/2006 then it stores 11/20/06__
It shifts everthing to fit the mask. I changed the mask to _/_ _/_ _ _ _ and it works fine for the single months, but then it gets messed up for the double digit months.
How can I make it stop shifting over?