title: C# Date Field DataBinding Value to String
body: <p>Im getting from database 2 date fields in string format like:</p>
  
  <p><strong>"yyyy.mm.dd"</strong></p>
  
  <p>Then, In my form I want to add DataBinding to the 2 DatePickers that will show these dates like below:</p>
  
  <pre><code>dtStart.DataBindings.Add(new Binding("Value", _ds.Tables["invoice"], "startdate"));
  dtEnd.DataBindings.Add(new Binding("Value", _ds.Tables["invoice"], "enddate"));
  </code></pre>
  
  <p>The problem right now is that when I change the date from the DatePicker then the Value will be a Date and what I need is to update the value but in the same string format "yyyy.mm.dd".</p>
  
  <p>Any clue how can I force to do that?</p>
  
  <p>Thanks a lot</p>