Registration Form: Design The Registration Form Using Various Controls and Display Entered Information On Label
Registration Form: Design The Registration Form Using Various Controls and Display Entered Information On Label
Registration Form: Design The Registration Form Using Various Controls and Display Entered Information On Label
Design the Registration form using various controls and display entered information on Label
End Sub
Dim i As Integer
For i = 0 To chkcourse.Items.Count - 1
If chkcourse.Items(i).Selected Then
courses += chkcourse.Items(i).Text
End If
Next
Dim j As Integer
For j = 0 To lstcounty.Items.Count - 1
If lstcounty.Items(j).Selected Then
county += lstcounty.Items(j).Text
End If
Next
End If
lblShowCourses.Text = courses
lblShowUserName.Text = txtusername.Text
lblShowEmail.Text = txtemailid.Text
'Using dropdownlist
lblcountry.Text = ddlcountry.SelectedItem.Text
'Using listbox
lblcountry2.Text = county
lbldob.Text = Calendar1.SelectedDate.ToShortDateString
End Sub