object obj = dataGridView1.Rows[dataGridView1.CurrentCell.RowIndex].Cells[4].Value;DateTime time = Convert.ToDateTime(obj);dateTimePicker.Value = time;
dateTimePicker.Value=Datetime值