VB.NET, ASP.NET .NET 2.0
I have a textbox on the screen that accepts user input. This textbox accepts a maximum of a 9 digit number. The format is four digit year followed by any 5 numbers.
For example: 200783244
The user wants me to place leading zeros so that the number is always 9 digits long. So If the user enters: 200788. After the user tabs out, I need to change the number to: 200700088
The leading zeros need to come after the year and before the number.
I'd preffer this to be client side script, but if that's to hard I'll just do it server side. Like after the user hits submit I'll just format it before it goes to the database.