Analysis of the difference between Request.QueryString and Request.Param in asp.net

  • 2020-05-16 06:40:38
  • OfStack

request.params is actually a set, which in turn includes request.querystring, request.form, request.cookies, and request.servervariables.


If you want to pass data between two pages, you can only use request.querystring, request.form, request.cookies

Request.Params looks for data in QueryString, Form, Server Variable and Cookies. He first looks for data in QueryString set.

Request. Params["id"], Request. Form["id"], Request. QueryString["id"] and the difference?
Request.Params is the set of all values sent from post and get, Request.Form is sent from post, Request.QueryString is sent from get

Related articles: