Retrieve GET variables from URL in ASPX

asp.net, forms, vb.net

Solution

You can use the following:

Example URL: http://www.whatever.com?hello=goodbye&goodbye=hello

string value = Request.QueryString("hello");

Value will be goodbye

or

foreach(string key in Request.QueryString)
{
    Response.write(Request.QueryString(key))
}

Problem

What's the easiest / standard way to retrieve the GET (in URL) variables passed to a .aspx (VB) page?

Original source

Related problems