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.
C# Request.QueryString/ Get Parameter Value From URL
Posted by Unknown at 3/14/2013 01:47:00 pm
Labels: ASP.net C#
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment