string targetURL =Page.ResolveClientUrl("~/Result.aspx?Xresult=" + HttpUtility.UrlEncode(response));
Response.Redirect(targetURL);
If i misunderstand your question, please feel free to correct me.
I hope the above information will be helpful. If you have more concerns, please let me know.