venus najad

venus najad

  • 1.3k
  • 414
  • 28.9k

how to call few parameters from one web form to the other one

Jul 15 2023 6:16 PM

hello i will get access  few parameters from one web form to another one and i have used:

Response.Redirect("adpreview.aspx?email=" + txtEmail.Text + "&title=" + txtTitle.Text + "&message=" + lblResult.Text);
but i get this error: System.ArgumentException: Redirect URI cannot contain newline characters.

i reduced it to: Response.Redirect("adpreview.aspx?message=" + lblResult.Text); 

but i got the same error... ???!!! how should i do? thanks your respond. kind regards

 


Answers (2)