Re: Using Null in DateTimePickers
From: John Smith (js_at_no.com)
Date: 08/27/04
- Next message: Morten Wennevik: "Re: How to use different color to display the item text in a ListView class with View property set to "details"?"
- Previous message: Ignacio Machin \( .NET/ C# MVP \): "Re: DateTime as empty String or null, How can i Do it?"
- In reply to: John Smith: "Using Null in DateTimePickers"
- Messages sorted by: [ date ] [ thread ]
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)
>
>
- Next message: Morten Wennevik: "Re: How to use different color to display the item text in a ListView class with View property set to "details"?"
- Previous message: Ignacio Machin \( .NET/ C# MVP \): "Re: DateTime as empty String or null, How can i Do it?"
- In reply to: John Smith: "Using Null in DateTimePickers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|