pass variable between webpage

D

dollar

I want to ask what is the best way to pass variable between asp.net we
pages, and user controls , any examples


-
dolla
 
M

Mona

Hi Dollar,

There are various ways in which ASP.NET helps you to pass information
from one page to another, it basically depends on your application.
In general, the applications use Session state to pass variables.

You can refer to the following link for complete details:

[State Management Recommendations]
http://msdn.microsoft.com/library/d...vbcon/html/vbconChoosingServerStateOption.asp

As for user controls, you can have public properties for the user control
which can be accessed by any page and also they will retain their values in
between
server round trips.

HTH

Mona[Grapecity]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,801
Messages
2,569,658
Members
45,421
Latest member
DoreenCorn

Latest Threads

Top