Re: Using Null in DateTimePickers

From: John Smith (js_at_no.com)
Date: 08/27/04


Date: Fri, 27 Aug 2004 09:50:39 -0400

Thanks everyone....But how incredibly depressing :)

"John Smith" <js@no.com> wrote in message
news:u$PtFYDjEHA.1712@TK2MSFTNGP09.phx.gbl...
> Hey folks,
>
> I have a DateTimePicker control on my Windows Form. Whenever I either:
> a) Don't give it a value
> b) Set it's value to Null
> c) Set it's value to ""
> It makes the date today's date.
>
> I need it to be empty though. How do I make it empty? It represents a
> field in my database which legitimately can be null and so I can't show it
> as todays date.
>
> Thanks a lot for the help!
>
>
>
> (I posted a similar message a couple of days ago without a response, but
> it's really important and time is of the essence so I'm trying again)
>
>



Relevant Pages

  • Using Null in DateTimePickers
    ... Hey folks, ... I have a DateTimePicker control on my Windows Form. ... I need it to be empty though. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using Null in DateTimePickers
    ... > I have a DateTimePicker control on my Windows Form. ... How do I make it empty? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using Null in DateTimePickers
    ... Nicholas Paldino [.NET/C# MVP] ... How do I make it empty? ...
    (microsoft.public.dotnet.languages.csharp)
  • Kill switch....where to buy one?
    ... Hey folks, ... Where would one buy a kill switch gor a guitar? ... I googled.....and came up empty. ...
    (alt.guitar)
  • OpenNetCF - DateTimePiker.ShowCheckBox
    ... I'm trying to use the DateTimePicker control that comes with OpenNetCF. ... I'm assuming the ShowCheckBox property is so you can allow for empty dates. ...
    (microsoft.public.dotnet.framework.compactframework)