Help!!! - Calender Selection

  • 13 years ago

    Hi

     

    Iam new in this prog world please help - if iam selecting a date from calender how do i reflect that selection in a text box.

     

    Thanks

    B

  • 13 years ago

     

    Private Sub Calendar_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) _Handles Calendar.SelectionChanged
                   Me.txtDay.Text = Format(Me.Calendar.SelectedDate, "dd")
            Me.txtMonth.Text = Format(Me.Calendar.SelectedDate, "MM")
            Me.txtYear.Text = Format(Me.Calendar.SelectedDate, "yyyy")
               End Sub

     

     

  • 13 years ago
    Many Thanks Buddy

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann