Sunday, August 12, 2018

Query String

Button Click Event
Page1.aspx

Response.Redirect("Default3.aspx?roll=" + TextBox2.Text);



Page2.aspx
protected void Page_Load(object sender, EventArgs e)
    {
     

        if (Request.QueryString.Count > 0)
        {

            TextBox1.Text=Request.QueryString["roll"];

        }


    }

No comments:

Post a Comment

Gridview send email

 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; ...