Re: System.Windows.Forms.DateTimePicker
- From: "Kevin Spencer" <unclechutney@xxxxxxxxxxxx>
- Date: Mon, 15 Jan 2007 07:18:09 -0500
The DateTime data type is a value type and is a structure. That means that
its' value cannot be null. It is possible that you are receiving some forms
that have been sent by bots (automated processes, such as Spam-bots), and
that these bots are not supplying a DateTime. Since the value of a DateTime
is in Ticks past 1/1/0001, a null value would be equivalent to 0 ticks.
--
HTH,
Kevin Spencer
Microsoft MVP
Bit Player
http://unclechutney.blogspot.com
Where there's a Will, there's a William.
"Memphis" <Memphis@xxxxxxxxxxxxxxxxx> wrote in message
news:0527EC98-D9B9-467E-BD75-E4DCFEBF3AB4@xxxxxxxxxxxxxxxx
Windows XP (SP2)
Visual Studio 2005 - (VB.NET)
The DateTimePicker is always initialized to Today + 1 Day. For some
strange
reason we have seen some incidents where the Saved date is 1/1/0001
We cannot reproduce as this is totally random.
Are there any bugs/issues with this control?
.
- Prev by Date: Re: AutoComplete ComboBox with DroppedDown=true
- Next by Date: Re: Proportional Resizing Controls
- Previous by thread: Re: System.Windows.Forms.DateTimePicker
- Index(es):
Relevant Pages
|