-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Rohit_BD
Message 2 in Discussion

Hi,   In Page1, say you have a text box called "TextBox1" you can do: 
Serve.Transfer("Page2", true)
 In Page2, retrieve the value using: HttpContext.Current.Request.Form["TextBox1"] 
Note: You can omit the HttpContext.Current part, and it still works.   This is what I 
did: Page1.aspx <input type="text" id="TextBox1" runat="server"> <asp:button 
id="btnSubmit" runat="server" text="Submit" />   Page1.aspx.cs private void 
btnSubmit_Click(...) {     Server.Transfer("Page2.aspx", true); }   Page2.aspx 
<asp:label id="lblMessage" runat="server" />   Page2.aspx.cs private void 
Page_Load(...) {     lblMessage.Text = HttpContext.Current.Request.Form["TextBox1"]; } 
  Hope this helps...

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_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]

Reply via email to