Has anyone managed to get databinding to update a MSSQL date attribute TO NULL?
I have an extended datepicker control, but I need to make sure it supports binding. I am testing this against a form created by the wizard.
I can display an existing NULL value, but I can't get the binding to support changing an existing date value to any kind of NULL. I've tried passing it as SQLDateTime.Null and System.DbNull.Value.
I checked out the DataForm wizard to see how it might be done. The wizard uses a textbox and passes the Date values and Null as a string. However, even this doesn't handle changing an existing date back to NULL.
Any help would be appreciated - I'm googled out!
I have an extended datepicker control, but I need to make sure it supports binding. I am testing this against a form created by the wizard.
I can display an existing NULL value, but I can't get the binding to support changing an existing date value to any kind of NULL. I've tried passing it as SQLDateTime.Null and System.DbNull.Value.
I checked out the DataForm wizard to see how it might be done. The wizard uses a textbox and passes the Date values and Null as a string. However, even this doesn't handle changing an existing date back to NULL.
Any help would be appreciated - I'm googled out!