title: Get data day from date when selecting datagridview row
body: <p>i have dgvData(datagridview), cmbPickRoom(combobox), numDay_In &amp; numDay_Out(numericupdown) and code which like this</p>
  
  <pre><code>private void dgvData_CellContentClick(object sender, DataGridViewCellEventArgs e)
  {
      if (e.RowIndex &gt;= 0)
      {
          DataGridViewRow row = this.dgvData.Rows[e.RowIndex];
  
          cmbPickRoom.Text = row.Cells["Room"].Value.ToString();
          numDay_In.Text = row.Cells["Day_In"].Value.ToString();
          numDay_Out.Text = row.Cells["Day_Out"].Value.ToString();
      }
  }
  </code></pre>
  
  <p>while the data in mysql store date format(dd-mm-yyyy) for both "Day_In" and "Day_Out". </p>
  
  <p>I want when i click dgvData, numDay_In and numDay_Out only take the day(dd)</p>