kishore

kishore

  • NA
  • 1
  • 0

windows forms

Feb 2 2010 1:33 AM
  i created a form contains some textboxes and datetimepicker control and one button control.  Then i entered some data to textboxes and change the datetimepicker value, now i want to clear the textboxes and get the datetimepicker default value in same form when i click the button(named clear). so  i cleared the textboxes by using the code like(in button click event)
                                
                                        textbox1.text=string.empty;
                                        textbox2.text=string.empty;

then how to get the default value of the datetimepicker control  ?

Answers (1)