Whats the code to make a user input the date in proper format in a text box.
Printable View
Whats the code to make a user input the date in proper format in a text box.
You can use the DateTimePicker or MaskedEdit controls to do this. Just enter the date format you want to use in the property window and that's all you need to do.Quote:
Originally Posted by new@this
You can code for this in the events of the standard TextBox but it's a lot of unnecessary work.