Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
good day ,
can any share there way or teach me how to validate a
maskTextBox if user input a Date and Time Arrival is Greater Than
Date and Time Departure,
you can Download file here
http://www.mediafire.com/?7i7vri6zy3y2z29[^]

Please Help me :D
Thank to all
Posted
Updated 1-Sep-11 17:18pm
v3
Comments
Dr.Walt Fair, PE 1-Sep-11 23:53pm    
I'm not going to download the file, but is this in WinForms or a web app?
PingLocalHost 2-Sep-11 1:23am    
This is a WinForms sir , Thanks :D

1 solution

Using MaskedTextBox and its validation for time constraint would be a strange idea.

All you really need is System.Windows.Forms.DateTimePicker, see http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900