RedirectToMobilePage problem

Discussion in 'ASP .Net Mobile' started by riza, Jul 14, 2006.

  1. riza

    riza Guest

    hi guys, i wish to bring over two variables from one web form to another..
    any idea how i do that?

    RedirectToMobilePage("combo/halalCombo.aspx?strname=" & lbl_cuisine.Text)

    that is for 1 variable. how about 2?

    need urgent help. thanks loads in advance.

    riz
     
    riza, Jul 14, 2006
    #1
    1. Advertisements

  2. Generaly you can separate variables in URL with & sign, for example:
    http:/somwhere.com/test.aspx?first=1&second=2

    So, try with something like this:
    RedirectToMobilePage("combo/halalCombo.aspx?strname=" & lbl_cuisine.Text &
    "&secondVariable=" & lbl_second.Text)
     
    Dusan Zupancic, Jul 17, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.