.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Code Snippets >> Windows Form Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Enable/Disable date at runtime in DateTime picker

Posted By:Narayanan       Posted Date: April 10, 2013    Points: 40    Category: Windows Form Controls    URL: http://www.dotnetspark.com  

Today we will see How to disable /Enable Date in DateTimePicker at runtime

Drag and Drop DateTimepicker to form.

Change in the DatetimePicker:

Checked true
CustomFormat dd/MM/yyyy
Format Custom
ShowCheckBox true

run the Application

unchecked the Check box on the Datetimepicker.
date will disable in the DateTimepciker.

checked  the Check box on the Datetimepicker.
date will enable in the DateTimepciker.


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend