locked
How to display selected datetime from a date time calendar picker using keyValuePair? RRS feed

  • Question

  • User-1851346387 posted

    I have a date time picker calendar on a form, and I am trying to use KeyValuePair to display the selected date and time. 

    KeyValuePair<DateTime, DateTime> orderDate = (KeyValuePair<DateTime, DateTime>)orderDate.SelectedItem;

    I am getting use of unassigne local variable orderDate.

    thanks

    Alex

    Monday, September 3, 2018 3:31 PM

Answers

  • User-1851346387 posted

    i used this.orderDate.Text to read the text box field.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, September 3, 2018 4:19 PM