Date Problem
-
Hi, Friend I hv one problem. I use DateTimePicker Control in My Application in vb.net. Some times i don't want to select date and i want to display blank in datetimepicker. so i get value either blank or date which i select from datetimepicker control. so please give me solution. Thank You in Advance. J. A. Patel
-
Hi, Friend I hv one problem. I use DateTimePicker Control in My Application in vb.net. Some times i don't want to select date and i want to display blank in datetimepicker. so i get value either blank or date which i select from datetimepicker control. so please give me solution. Thank You in Advance. J. A. Patel
There's no such thing as a "blank" date to the DateTimePicker. The default date is always the current date. If nothing is selected, you'll get todays date. There' is no getting around this, since a value type cannot be Nothing. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome