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!

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.