Hi,its not a proper solution but it might help you,
just hold the encoded value in temp and then again decode it and use that query string value as you want to use:
public partial class About : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var myString = "parameter=\"bla\"";
var base64EncodedString = Convert.ToBase64String(ASCIIEncoding.ASCII.GetBytes(myString));
Response.Redirect("Default.aspx?temp=" + base64EncodedString);
}
}
now code for Default.aspx.cs page:
---------------------------------------
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var originalString = ASCIIEncoding.ASCII.GetString(Convert.FromBase64String(Request.QueryString["temps"]));
lblShowName.Text = Request.QueryString["parameter"];
}
}