I have a couple of datetimepickers in my Windows form, for two date values in a SQL Server database.
I supposed the datetimepickers are correctly bound, since they correctly show the value in the database.
However, when I try to add a new record through the form, I pick a date from the datetimepicker, and I get an error that the column can't be null (which is correct according to my DB).
But I did pick a value!!
Also, I tried by adding the "Checkbox" functionality in my datetime picker, expecting it could make the trick, but it didn't I get the same error.
Oh, but get this. The datetimepicker does work correctly to change values in an existing record (which was filled directly into SQL Server).
So, it only fails with new records