title: DateTimePicker databindings
body: <p>I'm trying to bind DateTimePicker control to a property of an object.</p>
  
  <pre><code>    DatePickerDataSale.DataBindings.Clear();
      DatePickerDataSale.DataBindings.Add("Text", document.Data, "DataSale");
  </code></pre>
  
  <p>Code for class document.Data looks like this:</p>
  
  <pre><code>private DateTime dataSale;
  public DateTime DataSale
  {
      get { return dataSale; }
      set { dataSale= value; }
  }
  </code></pre>
  
  <p>Problem is that this databinding does not work. On</p>
  
  <pre><code>DatePickerDataSale.DataBindings.Add("Text", document.Data, "DataSale");
  </code></pre>
  
  <p>DataSale.get is called, but setter never executes. Where can be problem?</p>