Radio Button Value Parse


/ Published in: VB.NET
Save to your folder(s)

parse the radio value


Copy this code and paste it in your HTML
  1. Dim radioValue As String
  2. If Offer1Radbtn.Checked = True Then
  3. radioValue = "offer 1"
  4. ElseIf Offer2Radbtn.Checked = True Then
  5. radioValue = "offer 2"
  6. Else
  7. radioValue = "not selected"
  8. End If

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.