New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
row = New HtmlTableRow() cell = New HtmlTableCell Dim rbl As New RadioButtonList rbl.ID = "rblID" rbl.Items.Add(New ListItem("Yes", "1")) rbl.Items.Add(New ListItem("No", "2")) rbl.DataBind() cell.Controls.Add(rbl) row.Controls.Add(cell) newtables.Controls.Add(row)
Dim c As RadioButtonList = DirectCast(FindControl("rblID"), RadioButtonList) TextBox1.Text = c.SelectedItem.Text
Join the community of 500,000 technology professionals and ask your questions.