-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: lacisum
Message 4 in Discussion
Hi, For passing values between one page to another you can use context.handler In
this example I have used a textbox control and button control on the button click the
textbox data is tranfered to the next page public class webform1 :
System.Web.UI.Page { { get { return text1.Text;
} } private void button1_Click(object sender, System.EventArgs e) {
// Transfer to the next page. Server.Transfer("webform2.aspx"); }
}public class webform2 : System.Web.UI.Page { private void Page_Load(object
sender, System.EventArgs e) { if (!IsPostBack) {
webform1 LastPage; LastPage = (webform1)Context.Handler;
label1.Text = LastPage.Value; } } }You can also use session for
transfering valuesHope this solves you problemRegardsRaghu Chakkath
-----------------------------------------------------------
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]