This request query string act as action to get url parameter.
eg.
Request.QueryString["id"]
url: http://Sample.com&id=12345
Request.QueryString will get the value of 12345
How do we get array parameter from URL using Request.QueryString.
eg.
string[] names = Request.QueryString.GetValues("id");
names will hold the value of the parameter pass through URL.
This is the way to retrieve or get value from parameter.
No comments:
Post a Comment