0

hi guys, uhm this question of mine is just a simple one

hmm how do i concatinate this?

i have a textbox with 2 radiobuttons namely: AM and PM
when i put time (e.g. 4:15) and check am the text AM should be concatinated in the textbox


my code is like this:

Private Sub RB_time_Am_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RB_time_Am.CheckedChanged

        If RB_time_Am.Checked Then
            TxtTime_Admitted.Text = +" Am"

        End If

    End Sub

        End If

any help would be appreciated.
GOD bless!

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by bettybarnes
0

hi thanks i already knew the answer to this!

Private Sub RB_time_Am_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RB_time_Am.CheckedChanged

        If RB_time_Am.Checked = True Then
            TxtTime_Admitted.Text = TxtTime_Admitted.Text + " Am"
        End If

    End Sub

thanks God

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.