p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   General .NET (http://p2p.wrox.com/forumdisplay.php?f=122)
-   -   how to refer another form (http://p2p.wrox.com/showthread.php?t=10615)

khautinh March 16th, 2004 05:13 PM

how to refer another form

I am little new to ASP.NET. I am trying to create two forms as form1.aspx and form2.aspx. How can I from form1 call to open form2 please. I know this is an easy question to all of you out there.


frankv25 March 17th, 2004 06:15 AM




planoie March 17th, 2004 01:29 PM

Remember that ASP.NET (just like any other web technology) is stateless. You can not call from one form to another form like you can in a desktop application. Each form only lives one at a time, and for a very brief moment of time. If you want to move data between forms, you need to use some type of method that sends the data to the other page (like using the querystring of the URL) or a method that implements some persistance of the data on the server (like the Session collection).

Work smarter, not harder.

All times are GMT -4. The time now is 09:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.