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 ON ROW DATA BOUND EVENT

 Database Create  Student : roll , name , city , cost  Fix 6 Value  in Database Record  ====================================================...