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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top