Click here to Skip to main content
16,017,745 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
I want to use datepicker contrrol in windows application that is not in toolbox in c#
Posted

1 solution

Are you sure?
It's in mine, and it's a standard component of WinForms apps.

Have you tried creating one manually in your code, just to check if it should exist:
C#
DateTimePicker dtp = new DateTimePicker();
Controls.Add(dtp);
If that compiles without problems, then you need to look at your toolbox and possibly reset the items by right clicking the Toolbox and selecting "Reset Toolbox"
 
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