OpenNetCF - DateTimePiker.ShowCheckBox

J

Jamie Macleod

I'm trying to use the DateTimePicker control that comes with OpenNetCF. Now
I'm assuming the ShowCheckBox property is so you can allow for empty dates.
It doesn't look like it returns a DBNull value when it is checked, so I
guess you need to manual see if the Check box is checked. I can't even
figure out how to do this. What am I missing here?

Jamie
 
J

Jamie Macleod

For anyone interested. If the check mark is off, the DateTime.Value is
{1,1,1}.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top