DateTimePicker problem

I have this:

           If IsDBNull(dr("AppSent")) Then
                Me.dtpAppSent.Format = DateTimePickerFormat.Custom
                Me.dtpAppSent.CustomFormat = " "
            Else
                Me.dtpAppSent.Format = DateTimePickerFormat.Short
                Me.dtpAppSent.Value = dr("AppSent")
            End If

It won't work though.  It just displays today's date instead of the date in the Dataset.  Any ideas why   Thanks!

Brenda


Answer this question

DateTimePicker problem

  • DateTimePicker problem