Sunday, September 16, 2018

Query string using response.redirect function

Button Click Event :

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


Response.Redirect("Default2.aspx?UserId="+txtUserId.Text+" 
                             
                                &UserName="+txtUserName.Text);
protected void Page_Load(object sender, EventArgs e)
    {
       

        if (Request.QueryString.Count > 0)
        {

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


        }

}

No comments:

Post a Comment

ADVANCE 2025

 HTML TABLE SCROLL BAR  <style>      .table-container {             width: 100%;             overflow-x: auto; /* Enables horizontal s...