how does Request.QueryString work?

后端 未结 5 2078
暗喜
暗喜 2020-12-09 17:03

I have a code example like this :

 location.href = location.href + \"/Edit?pID=\" + hTable.getObj().ID; ; //aspx    
 parID = Request.QueryString[\"pID\"];          


        
5条回答
  •  再見小時候
    2020-12-09 17:28

    The Request object is the entire request sent out to some server. This object comes with a QueryString dictionary that is everything after '?' in the URL.

    Not sure exactly what you were looking for in an answer, but check out http://en.wikipedia.org/wiki/Query_string

提交回复
热议问题