DateTime Picker Question
From: Bill Mitchell (bill.mitchell_at_jjindustries.com)
Date: 07/14/04
- Next message: Chris Podmore: "RE: WebException BadGateway"
- Previous message: Mike: "Re: CE Device"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Jul 2004 10:15:16 -0400
I don't know if this is the appropriate place to post this question, so
please overlook my error (and let me know).
I am using the OpenNETCF.org Smart Device Framework. I am trying to use a
DateTimePicker control to allow the user to select a "Last Contacted" date
for customers.
The column is defined to allow null values and when a new customer is added
to the table, I wish to only insert a date in this column if the user
actually chooses a date using the DTP control on the form. I noticed that
there is the ability to have a checkbox on the DTP which tells it whether or
not to do anything with the value in the control but I am not sure how to
then check this because the control still has a default value and I do not
know if the user entered it or not.
Basically I want to send a NULL to the column during my INSERT or UPDATE
commands if the user did not select a value (or if the user unchecked the
box on the DTP control telling it to not use a value).
Thanks,
Bill Mitchell
- Next message: Chris Podmore: "RE: WebException BadGateway"
- Previous message: Mike: "Re: CE Device"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|