Ready to get started with anonymous questions today? It's easy! Learn more.
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
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.