0
"~/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.

3
  • 5
    you are missing & i think it should be "~/ActiveGoals.aspx?UserName={0}&SUName={1}" Commented Jan 19, 2015 at 6:17
  • So whats the issue ? Here is the link msdn.microsoft.com/en-us/library/ms524784(v=vs.90).aspx Commented Jan 19, 2015 at 6:17
  • 2
    Request.QueryString["SUName"] ? Commented Jan 19, 2015 at 6:17

1 Answer 1

1

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"];
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.