locked
Binding A Nullable DateTime RRS feed

  • Question

  • Hello everyone,

    I am Binding a DateTime to a drop down but I am having some problems. The DateTime is Nullable (DateTime?)

    I add this:

    deDOB.DataBindings.Add("EditValue", workerBindingSource, "DateOfBirth", false, DataSourceUpdateMode.OnPropertyChanged);

    But when I select a date the control goes back to null. Can someone please let me know what I'm doing wrong?

     

    Thanks in advance,

    Travis

    • Moved by Harry Zhu Thursday, May 20, 2010 11:44 AM (From:Visual C# General)
    Wednesday, May 12, 2010 7:52 PM

Answers

All replies