How to default the date format ?

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

I am creating a usercontrol which is a textbox (with date format only)
I want to make sure the user input the date format into dd-mm-yyyy
How can I create such user control ???

I know how to create a "number textbox" usercontrol, but don't know about
'textbox'
Thanks a lot
From Agnes
 
Hi Agnes,

When it has really to be as you tell and it is your own usercontrol I would
go for 3 small textboxes in a groupbox.

With that you can real control every value exact.

However just one of thousand ways to go I think.

Cor
 
* "Agnes said:
I am creating a usercontrol which is a textbox (with date format only)
I want to make sure the user input the date format into dd-mm-yyyy
How can I create such user control ???

<URL:http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp>
<URL:http://www.codeproject.com/vb/net/maskedbox_control.asp>
<URL:http://www.codeproject.com/vb/net/validtext3.asp>
<URL:http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp>
<URL:http://www.codeproject.com/useritems/ValidText.asp>
....
 
Back
Top