What is Querystring collection?

Answer Posted / sowmya

The QueryString collection is used to retrieve the variable
values in the HTTP query string.

The HTTP query string is specified by the values following
the question mark (?), like this:

<a href= "test.asp?txt=this is a query string test">Link
with a query string</a>

The line above generates a variable named txt with the
value "this is a query string test".

Query strings are also generated by form submission, or by
a user typing a query into the address bar of the browser.

Request.QueryString(variable)[(index)|.Count]

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the event handlers of session object?

772


What is aspx cs file?

725


If I want to build a shared assembly, does that require the overhead of signing and managing key pairs?

685


What is active server object model?

733


What purpose is served by the application.lock method?

754


Give an example of how using an HttpHandler could simplify an existing design that serves Check Images from an .aspx page.

2759


Explain how can you overload a method?

697


What is the maximum size of an array?

743


What is difference between asp and php?

718


Name the two properties which are common in every validation control?

736


What is the difference between post and get method.

744


how can i connect to ms-access database, with ASP??

1595


___________ and ____________ properity to be used to create localized version of a form

1722


Name the browsers that can access asp pages?

712


Name the data types which does the rangevalidator control support?

703