I\'m trying to blackout dates in my datetime picker control starting from day after today till datetime max value.
The below is the code:
You can create your own static property for this.
public static class DateTimeHelper { public static DateTime Tomorrow { get { return DateTime.Today.AddDays(1); } } }
.