Hi ,
In my application date will be given by user and a required calculation will be done by application . I used 2 combo boxes , one for dd and another for mm . And for yyyy i used textbox .(I can't use calender control here because it takes lot of time to move 20 to 30 years ) There is one problem . Sometimes date will be shown as 01/01/0001 in my output page . Some times it works correctly . I had came here with same problem some times ago . At that time one suggestion was there to use "txtyyyy.lostfocus" event where "if txtyyyy.text<1000 then txtyyyy.text=1000" ,code should be added. I have tried that also ! The same problem exists .Dear Erel What may be the reason ? What should be done?
In my application date will be given by user and a required calculation will be done by application . I used 2 combo boxes , one for dd and another for mm . And for yyyy i used textbox .(I can't use calender control here because it takes lot of time to move 20 to 30 years ) There is one problem . Sometimes date will be shown as 01/01/0001 in my output page . Some times it works correctly . I had came here with same problem some times ago . At that time one suggestion was there to use "txtyyyy.lostfocus" event where "if txtyyyy.text<1000 then txtyyyy.text=1000" ,code should be added. I have tried that also ! The same problem exists .Dear Erel What may be the reason ? What should be done?