Kevin McKowski
New member
- Joined
- Aug 2, 2011
- Messages
- 1
- Programming Experience
- 3-5
Hi,
I'm using the DatePicker control, and it's been acting up! No matter what date I select, it always returns todays date!
Here's the code below:
I'm stumped .. Anyone seen this before? (Screenshot attached)
I'm using the DatePicker control, and it's been acting up! No matter what date I select, it always returns todays date!
Here's the code below:
VB.NET:
Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles cmdOK.Click
MessageBox.Show(dtpDueDate.DisplayDate()) ' Always shows Todays date! (No matter what date I pick)
Close() ' Close the window
End Sub
I'm stumped .. Anyone seen this before? (Screenshot attached)