Solved

Why Request.QueryString.ToString replace spaces with plus sign!

Posted on 2008-10-25
2
1,959 Views
Last Modified: 2009-05-21
Hi, I am trying to retrieve the entire querystring (without parsing it) like this:
strQS = Request.QueryString.ToString
But when there are spaces within the querystring it returns as '+' sign.
Any suggestion?
0
Comment
Question by:Abdu_Allah
  • 2
2 Comments
 
LVL 14

Accepted Solution

by:
Binuth earned 500 total points
ID: 22802554
use Server.UrlDecode...

Server.UrlDecode(Request.QueryString.ToString())
0
 
LVL 14

Expert Comment

by:Binuth
ID: 22802628
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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