From form1 I m passing the values of two textboxes & on form 2 I m receiving it---
FORM1 CODE-
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("default4.aspx?roll="+TextBox1.Text);
Response.Redirect("default4.aspx?name="+TextBox2.Text);
}
FORM2 CODE--
protected void Page_Load(object sender, EventArgs e)
{
Label1.Text = Request.QueryString["roll"].ToString();
Label2.Text = Request.QueryString["name"].ToString();
}
But the error is coming