QueryString Method in ASP.Net.

QueryString Method

  • The QueryString method is one of the Oldest method for passing value from one page to another page in ASP.Net.
  • Below the Code how to work with QueryString method in ASP.Net.

    Syntax :- Response.Redirect(“DestinationPage.aspx?Value=” & string);

    Example: –

    str name=”MeeraAcademy”;Response.Redirect(“Pagename.aspx?Name=”&name);


    on the other side received page we write

    str name;
    name = Request.QueryString[“Name”].ToString();

Leave a Reply

Your email address will not be published. Required fields are marked *

four × five =