i want to lock the datetimepicker1 after choosing a date. How to get kept the date i choosed in datetimepicker1 when opening it another times?
this is the code i wrote,
Dim startdate As DateTime = DateTime.Parse(Date.Now)
Dim enddate As DateTime = DateTime.Parse(DateTimePicker1.Text)
Dim ts As TimeSpan = enddate.Subtract(startdate)
Label1.Text = CStr(ts.Days) & " Days Remaining "
If ts.Days = 0 Then
Timer1.Dispose()
Label2.Text = "Today is your Birthday !"
End If
i want to lock the datetimepicker1 after choosing a date. How to get kept the date i choosed in datetimepicker1 when opening it another times?
how to correct this my brothers. Please hep me.















