DateTimePicker in DataGrid

  • Thread starter Thread starter Marty
  • Start date Start date
M

Marty

Is it possible to have a DateTimePicker in a DataGrid control date
column? If so, can you please include some code. Thanks.
 
You need to create a custom DataGridColumnStyle. The DataGridColumnStyle
docs contain an example that shows you how to create a column style for a
DateTimePicker control.
http://msdn.microsoft.com/library/d...windowsformsdatagridcolumnstyleclasstopic.asp

In addition, this might be a good article to read.
http://www.codeproject.com/cs/miscctrl/WindowsDataGridColumns.asp

I know there's some more information, and some already built classes, around
on the web as well. You just need to google them.
 
Back
Top