What's the easiest / standard way to retrieve the GET (in URL) variables passed to a .aspx (VB) page?
+2
A:
Here is an example from SO on looping through the GET postback values.
http://stackoverflow.com/questions/562943/looping-through-a-request-querystring-in-vb-net
Zachary
2009-06-23 16:08:45
+2
A:
You can use the following:
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])
}
Jonathan Mayhak
2009-06-23 16:11:38