Dim RadioButtonList1 As RadioButtonList = New RadioButtonList()
Dim Male As ListItem = New ListItem()
Male.Text = "เพศชาย"
Male.Value = "male"
Dim Female As ListItem = New ListItem()
Male.Text = "เพศหญิง"
Male.Value = "female"
RadioButtonList1.Items.Add(Male);
RadioButtonList1.Items.Add(Female);
Dim Label1 As Label = New Label()
Label1.Text = "Label"
Code (VB.NET)
Private Sub RadioButtonList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles RadioButtonList1.OnSelectedIndexChanged
Label1.Text = RadioButtonList1.SelectedItem.Value
End Sub