the double quote is escaped by placing a \ sign in front of the "
avoid using a " sing just use the value for the key category
Main Topics
Browse All TopicsI have a link that takes me to fooditems.aspx?Category="b
however, when I trace the code: Category = Request.QueryString["Categ
I find that the resulting value of Category is: "\"breakfast\""
where could the problem be?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Just to expand on ragi0071's post, the string is not actually corrupted.
Though it's not necessary to put the double quote in the value, the system isn't corrupting the string, it's just SHOWING it to you escaped in the trace.
When you write strings in code, you escape the " character with \", and in the same manner, when you're tracing / debugging, the system shows you an escaped version.
If you actually do something with the string, write it out to a label, write it to a database, etc... it will show the original "breakfast" that was passed in.
Business Accounts
Answer for Membership
by: BinuthPosted on 2008-09-02 at 22:53:08ID: 22374475
avoid double qoutus " - from query string where you buld query string ...
eakfast
like ...
fooditems.aspx?Category=br