Request.QueryString All results

Posted on 2007-03-20
Medium Priority
Last Modified: 2013-12-17
Hello, by random i have a page that is going to get diffrent querys and its prams, how do i tell what the qry names are and then what the pram is eq to?
Question by:wd006451
1 Comment
LVL 25

Accepted Solution

dstanley9 earned 2000 total points
ID: 18759393
foreach(string key in Request.QueryString.AllKeys)
  string value = Request.QueryString[key];
  Console.WriteLine("{0}: {1}", key, value);

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
SingleRun is a tool that ensures that only one instance of an application is started, running it again brings the application to focus.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question