-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: ImpressedDotNeteer
Message 3 in Discussion
Hi Balaji,<o:p></o:p>
You can pass values from one page to other by using Context and Session.
For e.g.<o:p></o:p>
On Page1:<o:p></o:p>
<o:p></o:p>
Using Session<o:p></o:p>
Session[�Var1�] = value;<o:p></o:p>
Response.Redirect(�Page2.aspx�);<o:p></o:p>
<o:p></o:p>
Using Context<o:p></o:p>
Context[��] = value;<o:p></o:p>
Server.Transfer(�Page2.aspx�);<o:p></o:p>
<o:p> </o:p>
On Page2:<o:p></o:p>
<o:p></o:p>
string var1,var2=��;<o:p></o:p>
var1 = Session[�Var1�];<o:p></o:p>
var2 = Context[�Var2�];<o:p></o:p>
HTH<o:p></o:p>
Regards,<o:p></o:p>
Manpreet<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
<o:p> </o:p>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]