Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
How do I determine if a date was picked
posted

I have a WebDatePicker that has Nullable = true (so a date does not have to be picked). On form save, the Value field is never null, rather is has a datetime of 1/1/0001. If no date was selected, I need to store a null in the database, not a date in Year 1. 

What would you recommend I use to determine if a date has actually been picked? Checking if the Text property is an empty string?

Thanks!