wowoow...I finally did it... I made use of the closeup event of my datetimepicker and now I can see that the control is not going to infinite loop....
Its a great learning anyways... :-)...
User Profile
Collapse
-
Thanks balabaster.... i tried your piece of code but the result is the same...it goes infinite.... my GOSH!!.... I am really crazy now coz I tried working many alternative approaches but all are resulting in the same when I change the calendar month to some other month... infinite..infin ite...
Is there any other clean way of handling this validation?.... . Any code sample please...greatf ul to u.......Leave a comment:
-
thanks for replying plater.... its a windows form so no issue with postback. I am setting the value inside just to make the start date equals end date.
This issue still persists.... no clues.. :-(...Leave a comment:
-
Date comparison in C#.NET
Hi All,
I am facing a critical issue when I compare my dates and display error is the start date is greater than the end date. Here is my code... I am making use of Datetime picker.
private void datetimepicker1 _ValueChanged(o bject sender, EventArgs e)
{
Datetime dt1 = datetimepicker1 .value;
Datetime dt2 = datetimepicker2 .value;
if(dt1...
No activity results to display
Show More
Leave a comment: