Reputation: 7053
I have a URL that looks like that:
"~/ControlPanel.aspx?x=usersName"
Now I want the master page to also be able to request the usersName:
string name= Request["x"];
Is it possible to do?
Upvotes: 2
Views: 156
Reputation: 52241
you can get using Request.QueryString["x"];
string name= Request.QueryString["x"];
Upvotes: 1