Knowing what input radio is selected on ASP.NET (VB)

Posted by AZIRAR on Stack Overflow See other posts from Stack Overflow or by AZIRAR
Published on 2010-06-17T17:09:17Z Indexed on 2010/06/17 17:13 UTC
Read the original article Hit count: 138

Hello,

I'm creating input radio dynamicly on a ASP.NET page using PlacHolders.

While reader.Read
Dim ltr As New Literal()
Dim ltr1 As New Literal()
Dim ltr2 As New Literal()
Dim ltr3 As New Literal()
Dim ltr4 As New Literal()
ltr.Text = reader.GetString(2) & "<br />"
PlaceHolder2.Controls.Add(ltr)
ltr1.Text = "<form> <input type = radio name=groupe" & i & " value=1>" & reader.GetString(3) & "<br />"
PlaceHolder2.Controls.Add(ltr1)
ltr2.Text = "<input type = radio name=groupe" & i & " value=1>" & reader.GetString(4) & "<br />"
PlaceHolder2.Controls.Add(ltr2)
ltr3.Text = "<input type = radio name=groupe" & i & " value=1>" & reader.GetString(5) & "<br />"
PlaceHolder2.Controls.Add(ltr3)
ltr4.Text = "<input type = radio name=groupe" & i & " value=1>" & reader.GetString(6) & "</form><br /><br />"
PlaceHolder2.Controls.Add(ltr4)
i = i + 1                   
End While

My problem is : how can I get all the items selected on those input radio.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about visual-basic