none
Pass a QueryString to a variable RRS feed

  • Question

  • Hi folks, how do you pass a parameter from a Querystring to a variable?

    is something like this?

    Width = Request.QueryString["w"];


    • Moved by Caillen Friday, August 21, 2015 7:14 AM
    Sunday, August 9, 2015 3:21 PM

All replies

  • For your asp.net related questions, please us this link:

    https://forums.asp.net/

    However, your use is correct. 

    Request.QueryString["id"]
    Just please make sure that "w" is the query name on the url. 

    • Proposed as answer by Caillen Friday, August 21, 2015 7:14 AM
    Sunday, August 9, 2015 3:28 PM