What is Query String?

Showing Answers 1 - 3 of 3 Answers

Gaurav Kumar Singh

  • Aug 31st, 2007
 

Query String is also one method to pass the small amount of value from one page to another.
Query String is a parameter passed to the page, the page load may be based on this passed value. Basically this value is passed as follows..
' This hyper link called the page1.aspx page with the querystring id with value 1.
It is a very good way the passing value from one page to another.
In the page1.aspx we can get these values as:

string value1=Request.QueryString("id");

Now the value1 will have the value=1

kirangiet

  • Oct 20th, 2009
 

Query String is the part of a URL that contains data to be passed to web pages. Query string is a client side state management technique. URL is followed by Querystring  separated by "?".

Using Query string we can pass small values in plain text format (by default) from one page to another. We can't pass huge chunk of data through query string due to the fact that many browsers limit the length of URL to 2083 characters for IE.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions