Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

querystring in asp.net

how to use querystring in asp.net.

like image 226
preety Avatar asked Sep 17 '10 09:09

preety


People also ask

What is QueryString in asp net?

ASP.NET QueryString A query string is a collection of characters input to a computer or web browser. A Query String is helpful when we want to transfer a value from one page to another.

What is QueryString in URL?

On the internet, a Query string is the part of a link (otherwise known as a hyperlink or a uniform resource locator, URL for short) which assigns values to specified attributes (known as keys or parameters). Typical link containing a query string is as follows: http://example.com/over/there?

What is a query string example?

A query string commonly includes fields added to a base URL by a Web browser or other client application, for example as part of an HTML, choosing the appearance of a page, or jumping to positions in multimedia content.


2 Answers

It depends on what exactly query.string did in the language you refer to, but...

Request.QueryString["MyValue"];

http://msdn.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx

like image 107
Dan Dumitru Avatar answered Oct 07 '22 19:10

Dan Dumitru


Good article realted to query string

ASP.NET Client Side State Management - Query Strings

Passing variables between pages using QueryString

like image 27
Pranay Rana Avatar answered Oct 07 '22 19:10

Pranay Rana