Reputation: 729
I am using request.querystring
just to access a parameter which I am passing from one page to other.
It is giving me an error.
Non-invocable member 'System.Web.HttpRequest.QueryString' cannot be used like a method.
I am using C#.
Any help would be appreciated!
Upvotes: 11
Views: 13841
Reputation: 14640
It sounds like you're writing:
Request.QueryString("Param");
When you want:
Request.QueryString["Param"];
Note the square brackets.
Upvotes: 32