Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 92813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:14:46+00:00 2026-05-10T23:14:46+00:00

I came across a problem in my current application that required fiddling with the

  • 0

I came across a problem in my current application that required fiddling with the query string in a base Page class (which all my pages inherit from) to solve the problem. Since some of my pages use the query string I was wondering if there is any class that provides clean and simple query string manipulation.

Example of code:

// What happens if I want to future manipulate the query string elsewhere // (e.g. maybe rewrite when the request comes back in) // Or maybe the URL already has a query string (and the ? is invalid)  Response.Redirect(Request.Path + '?ProductID=' + productId); 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:14:47+00:00Added an answer on May 10, 2026 at 11:14 pm

    Use HttpUtility.ParseQueryString, as someone suggested (and then deleted).

    This will work, because the return value from that method is actually an HttpValueCollection, which inherits NameValueCollection (and is internal, you can’t reference it directly). You can then set the names/values in the collection normally (including add/remove), and call ToString — which will produce the finished querystring, because HttpValueCollection overrides ToString to reproduce an actual query string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just came across this weird problem that is happening in IE. In the
I came across the PHP's memory_get_usage() and memory_get_peak_usage() . The problem is that I
Recently I came across a problem that asks to find out the non-unique characters
I came across this problem while preparing for an interview and curious to know
Today I came across a problem where someone had accidentally committed a proj.user file
I am new to creating Java web applications and came across this problem when
After getting fine answer to my previous question , I came across another problem.
So I came across an interesting problem today. We have a WCF web service
While investigating a reported problem with my site loading slowly, I came across an
I'm still trying to debug a very sneaky memory corruption problem. I came across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.