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

  • SEARCH
  • Home
  • 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 6143847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:34:25+00:00 2026-05-23T18:34:25+00:00

I have two files htmlpage1.htm and webform1.aspx htmlpage1.htm contains a anchor tag with href=webform1.aspx?name=abc+xyz.

  • 0

I have two files htmlpage1.htm and webform1.aspx

htmlpage1.htm contains a anchor tag with href=”webform1.aspx?name=abc+xyz”.

When i try to access the querystring in page_load of webform1.aspx, i get “abc xyz” (abc [space] xyz). I want exact value in querystring “abc+xyz”

Note: href value cannot be changed

Any help will be appreciated

Thank You.

  • 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. Editorial Team
    Editorial Team
    2026-05-23T18:34:26+00:00Added an answer on May 23, 2026 at 6:34 pm

    This will Server.UrlDecode for you:

    Request.QueryString["name"] // "abc xyz"
    

    Option 1) You can re-encode

    Server.UrlEncode(Request.QueryString["name"]); // "abc+xyz"
    

    or get the raw query data

    Request.Url.Query // "?name=abc+xyz"
    

    Option 2) Then parse the value

    Request.Url.Query.Substring(Request.Url.Query.IndexOf("name=") + 5) // "abc+xyz"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two files: metadata.csv: contains an ID, followed by vendor name, a filename,
Let's say I have two files default.aspx and the associated default.aspx.cs . default.aspx.cs: protected
I have two files: index.php /lib/user.php Index contains the form: <div class=<? echo $msgclass;
I have two files with the same name Foo.rb in the directories pointed by
i have two files one called stats.js one called storage.html in stats.js in contains
I have two files lets say a.xls and b.xls . The first one contains
I have two files File 1 contains 3 fields File 2 contains 4 fields
I have two files: groundup.xml and groundup.xslt. groundup.xml: <content> <root> <housing_option_name>The first name</housing_option_name> <housing_option_headline>Live
I have two files named as TimeSheet.aspx.cs and TimSheet.aspx ,code of the file are
I have two files. The first file contains a list of 6 character keys

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.