Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please anyone explain me the concept of using
href tag like this:
XML
<a href="product.aspx?page=products" title="Product"> Product </a>

im want to know what this symbol:?
indicates here...
Posted
Updated 9-Mar-14 2:16am
v6

It indicates the separation between the website address: "product.aspx" and the parameter that is being passed to it as a query string: "page=products"

For more information, see here: http://en.wikipedia.org/wiki/Query_string[^]
 
Share this answer
 
Comments
Manfred Rudolf Bihy 9-Mar-14 5:40am    
Wikipedia, are you serious? For these kind of questions I know of only one source: requests for comment also known as RFCs. :)
OriginalGriff 9-Mar-14 5:42am    
It explains query strings pretty well, in language that a beginner should be able to cope with.
(Plus it was the top hit when I googled "query string" so it made my life easier! :laugh: )
Well, it is a way to pass some values between two web pages.
In your case, you're passing page=products to product.aspx. Therefore you can get this value on this page using QueryString[^].

Like this : string str= Request.QueryString["page"];

You may find more information regarding passing values and QueryString over here :
Passing variables between pages using QueryString[^]

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900