Reputation: 384
"~/ActiveGoals.aspx?UserName={0}?SUName={1}"
This is a URL which will be redirected after a click event.
after that i want to utilize the second part of the QueryString i,e, SUName.
Upvotes: 0
Views: 96
Reputation: 361
You have to use like
"~/ActiveGoals.aspx?UserName={0}&SUName={1}"
not
"~/ActiveGoals.aspx?UserName={0}?SUName={1}"
and then you get SUName from code behind
string str=Request.QueryString["SUName"];
Upvotes: 1