Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have gone through many articles but everyone redirects to How to: Host Controls in Windows Forms DataGridView Cells

But the problem lies here is that I dont want to add new column to my DataGridView which the article says to do it.I am having a DataGridView which is filled through the DataSource property of Grid.The data is coming from the database and filling the Dataset which indirectly fills the DataGridView.

So would like to ask how to add datetimepicker to my existing column of datagrid using the above article.So far I have created three classes namely CalendarColumn.cs, CalendarCells.cs and CalendarEditingControl.cs.

Also would like to ask about the NULL values the column has.Will the Null values will be handled by the classes or do we have to add some code?

Any links or articles would be appreciated. Thanks in advance.
Posted
Updated 13-Dec-11 20:21pm

1 solution

Check out my article and demo code here

DataGridViewExtension[^]

I have already implemented a DateTimePicker column
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900