Date validation

laxman

Freshman
Joined
Jun 14, 2008
Messages
28
I have two text boxes in which i am providing the date here i want to do date validation like start date should not more than end date this i wanted to do in windows application vb.net 2005
 
well in VB you have a method called DateDiff.

So in the event Leave of the enddate textbox you can use DateDiff to compare the dates. If it does not meet the requirement show a messageBox ou put an erro in a ErrorProvider
 
Back
Top