Free templates
Menu Search Free templates

Send data using Server.Transfer (C#, VB and ASP.NET) | Free code

Here you can download free code (C# and VB) to send data with Server.Transfer and code to retrieve data on that web page that the user has been sent to.

When a user moves from one web page to another web page is it not possible to use the data that is stored on the web page that the user has been transferred from, data must be stored or sent to the web page that the user is redirected to.

One way to send data to a web page without having to save data in a database is to send data through "Context.Items.Add" in a Server.Transfer. Data that is stored with "Context.Items.Add" can easily be obtained on the web page that the user has been moved to by a reference to the name that is specified for "Context.Items.Add".

When you send data with Server.Transfer you must give each data value a unique name and it is possible to send multiple data values by entering multiple lines of "Context.Items.Add". This free template for sending and retrieving data using Server.Transfer contains two web pages, one web page that data is sent from and one web page that retrieves data from the transfer.

Remember that you in your web hosting account must have made a setting for the correct version of "ASP.NET" on your website (the version listed in the "Web.config" file). We are using Visual Web Developer 2005 (2010) Express Edition for web programming.
Updated: 01/01/2015 | Created by All-templates.biz

Download Send data using Server.Transfer (C#, VB and ASP.NET) | Free code ยป

Tags: web code parameters