C
Carlos
Hi all,
I just tried to handle the SelectionChanged event using a calendar
control to popoulate a textbox. I got "12:00:00 AM" instead of the date..
i.e. "11/1/2006" my snippet is
Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Calendar1.SelectionChanged
TxtEventDate.Text = Calendar1.SelectedDate.ToLongTimeString()
End Sub
Thanks in advance,
Carlos
I just tried to handle the SelectionChanged event using a calendar
control to popoulate a textbox. I got "12:00:00 AM" instead of the date..
i.e. "11/1/2006" my snippet is
Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Calendar1.SelectionChanged
TxtEventDate.Text = Calendar1.SelectedDate.ToLongTimeString()
End Sub
Thanks in advance,
Carlos