which is $_REQUEST[variable] similar contol in asp.net

Rate It (1)

Last post 11-07-2005 4:34 PM by hibri. 1 replies.

Sort Posts:

  • which is $_REQUEST[variable] similar contol in asp.net

    11-06-2005, 5:34 AM
    • Member
      15 point Member
    • webraptor
    • Member since 10-27-2005, 2:53 PM
    • Posts 3
    I have been looking over and over to find it out but didn`t get any results. So , how can i do the same thing in asp.net ?
    To be more specific, give a variable the requested value..
    some like

    $id=$_REQUEST[id] , where id is somewhere in the adress bar ... http://stuff./index.php?id=76 for example.
    I`d like to do the same in asp.net but couldn`t fond how.

  • Re: which is $_REQUEST[variable] similar contol in asp.net

    11-07-2005, 4:34 PM
    • Member
      591 point Member
    • hibri
    • Member since 08-30-2005, 1:03 PM
    • London, UK
    • Posts 125
    Hi,
    Use
    Request.QueryString["id"]
    This returns the value of the id parameter in the querystring.
Page 1 of 1 (2 items)