|
Hello All I place the control on the form. When I clicked the control it hangs..the following is the code
Private Sub dtpStartDt_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dtpStartDt.ValueChanged Dim dtDate As Date dtDate = DateAdd(DateInterval.Month, intMonths, dtpStartDt.Value.Date) lblEndDt.Text = DateAdd(DateInterval.Day, -1, dtDate.Date) End Sub
System hangs at dtDate = DateAdd(DateInterval.Month, intMonths, dtpStartDt.Value.Date)
Any help?
Thanks
___________________________________________________
Thanks
anandnairv - Always learning something...
|