Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

set datetimepicker value .net

Options
  • 18-02-2009 1:39pm
    #1
    Closed Accounts Posts: 2,268 ✭✭✭


    Is there a most correct way to set the visible text in a datetimepicker.

    Should you use the text or value proeprty?


Comments

  • Registered Users Posts: 2,791 ✭✭✭John_Mc


    Is there a most correct way to set the visible text in a datetimepicker.

    Should you use the text or value proeprty?

    The Text property is what is visible to the user, so in terms of visibility - this is probably the most correct way to do it.

    The Value property can store an alternative value which is not visible to the user. In this case it might be the date in a different format used internally by the system.


Advertisement