title: I have grid view and I assign the column value to date time picker with custom format but it is not working
body: <p>How to assign data grid view data to date time picker with custom format? The format is "ddd-MM-yy", C# winforms, this is my code.</p>
  
  <pre><code>string recievingDate = dgInvoice.SelectedRows[0].Cells[4].Value.ToString();
  txtRecievedDate.Text = recievingDate;
  </code></pre>
  
  <p>It works for default value and for the custom format.</p>