Interviews - C# Corner

Ahsan Siddique
How many ways are there for a page to pass something/data to another page?
By Ahsan Siddique in .NET onFeb 05 2018
  • Aniket Rana
    Apr, 2018 3

    Response.Redirect | Cookies | Application Variables | HttpContext

    • 2
  • Tripat Bala Singh
    Feb, 2018 9

    You can pass data from one page to another page through following way1- Response.RedirectSET: Response.Redirect("Defaultaspx?name=Tripat"); GET: string Name = Request.QueryString["name"];2-CookiesSET : HttpCookie cookName = new HttpCookie("Name"); cookName.Value = "Tripat"; GET :string name = Request.Cookies["Name"].Value;3- Application VariablesSET : Application["Name"] = "Tripat"; GET :string name = Application["Name"].ToString();

    • 2
  • Bidyasagar Mishra
    Jul, 2019 12

    quesrystring,cokies,session,webstorage

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS