Retrieve value from the the URL format string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crystal2005
    New Member
    • Apr 2007
    • 44

    Retrieve value from the the URL format string

    Hi all,

    As the title, how do i retrieve a value from the URL format string after i pass it to the other page.

    E.g. example in my case is

    Say in admin.aspx i have a link to questions.aspx. I have my URL format string question.aspx?i d=1. The question is how do i retrieve the id value, i'd like to use that value to execute a stored procedure query statement, so that the moment question.aspx page is loaded some data will be display from the database.

    Have a look at screenshot



    I hope it's clear, Thanks for any help.
  • prabirchoudhury
    New Member
    • May 2009
    • 162

    #2
    hey .. you select options in Define Parameters window below..
    1. Serlect "Querystrin g" from the parameter source
    2. "id" in the querystringFiel d

    then it shoud take your id value from the query string

    Comment

    • crystal2005
      New Member
      • Apr 2007
      • 44

      #3
      Hey, thanks a lot mate.... it did work ^_^

      Comment

      • prabirchoudhury
        New Member
        • May 2009
        • 162

        #4
        you welcome.. :) glad that working ..

        Comment

        Working...