DGVCalendar.Rows[row].Cells[0].Value = Convert.ToDateTime(dt1.ToString("dd-MM-yy"));
String was not recognised as a valid date time
DGVCalendar.Rows[row].Cells[0].Value = dt1.ToShortDateString();
DGVCalendar.Rows[row].Cells[0].Value = Convert.ToDateTime(dt1.ToString("dd/MM/yyyy"));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)