The
DataGridView
does not have a
DateTime
column. But a
DateTimePicker
control can be hosted in
DataGridView
cell. An example is given here
http://msdn.microsoft.com/en-us/library/7tas5c80.aspx[
^]
In this example in the constructor of
CalenderCell
the
Format
of
DataTime
is set to short date format.
public CalendarCell()
: base()
{
this.Style.Format = "d";
}