troubleshooting Question

Pass radio button and check box value to show in my label as Yes Or No in another page.

Avatar of Padre_Corleone
Padre_CorleoneFlag for United States of America asked on
ASP.NET
3 Comments1 Solution191 ViewsLast Modified:
I have a form.aspx with a form with a radio button and a check box.  when radio button is checked.  I want to pass that value to another page as a "yes" or "no" my question?

How do I convert my chkburnyesradio.Checked to show on my  Server.Transfer("page2.aspx") as the Value="yes" or Value ="no" or the radio button and for my checkboxcolor.checked = "Color" or Value="black and white"

' this gives me a blank label for my radio button
        Dim CdYesAmount As String = CType(context.Items("CdYesAmount"), String)
        lblCdYesAmount.Text = CdYesAmount
' this gives me a blank label for my check box
        Dim blackcopies As String = CType(context.Items("blackcopies"), String)
        lblblackcopies.Text = blackcopies

        Dim colorcopies As String = CType(context.Items("colorcopies"), String)
        lblcolorcopies.Text = colorcopies

Please Help.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros