Hi,
In ASP .NET every page posts back to itself.  So normally we complete
the whole process in that page itself.  If ever you need to transfer it
to other page, then you can do it in three ways (there could be more)
 
1.      QueryString variables.
Response.Redirect("secondpage.aspx?variable=textBox.text", true);
2.      Context Handler. Check this link:
http://aspnet.4guysfromrolla.com/articles/050802-1.2.aspx .  This
example shows transferring DataGrid data, but you can do the same with
other controls of the first page.
3.      Session variables.  (recommended only for important info that
needs to accessed in many pages.)
 
And I think you can Server.Transfer and access the controls of the first
page in the second page by using Request.Form.  I could be wrong, I am
just guessing here.  I haven't tried this at all.  
 
Rajendra.
 
-----Original Message-----
From: lissie janet [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 01, 2004 7:38 AM
To: [EMAIL PROTECTED]
Subject: [AspNetAnyQuestionIsOk] reg var transfer to next page
 
hai,
            i want to know about how to transfer the variable content
from one pg to another.
ie how to get the data entered in a textbox retrived in next page
plz guide me.
bye

            
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

[Non-text portions of this message have been removed]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129mcoqtc/M=295196.4901138.6071305.3001176/
D=groups/S=1705006764:HM/EXP=1096717122/A=2128215/R=0/SIG=10se96mf6/*htt
p:/companion.yahoo.com> 
 
<http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
s/S=:HM/A=2128215/rand=493949506> 
 
  _____  

Yahoo! Groups Links
*         To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
  
*         To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
cribe> 
  
*         Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to