Search
Articles
FAQs
Login
All Questions
New Question
C# .NET - Add datetimepicker in datagridview
Asked By
Anuj
on 04-Dec-10 02:19 AM
i have a dategridview on window form and i want to add a column date with datetimepicker control; how can i do this.
Nowshad M
replied to
Anuj
on 04-Dec-10 02:24 AM
Hi,
You will need to create a new DataGridView column with a custom editor for this. It has been described in an MSDN example here:
http://msdn.microsoft.com/en-us/library/7tas5c80.aspx
Anoop S
replied to
Anuj
on 04-Dec-10 04:12 AM
You can refer this for using datetimepicker in datagridview
http://www.codeproject.com/KB/grid/WindowsDataGridColumns.aspx?display=PrintAll