j****s 发帖数: 34 | | b*e 发帖数: 3845 | 2 you could store the object in Session.
【在 j****s 的大作中提到】 : 谢谢,除了使用全局变量,还有其他几种方法?
| a**y 发帖数: 335 | 3 Session, as mentioned by bee.
Or store your data in Context(an Object collection), then
use Server.Transfer(string URL).
【在 j****s 的大作中提到】 : 谢谢,除了使用全局变量,还有其他几种方法?
| a**y 发帖数: 335 | 4 Another way I can think of is to serilize your data and
SOAP it into message queue. Read the SOAP data by the
second page you want to transfer to. It's good for
unsynchorized situation.
【在 a**y 的大作中提到】 : Session, as mentioned by bee. : Or store your data in Context(an Object collection), then : use Server.Transfer(string URL).
| m*******n 发帖数: 154 | 5 i remember that you can transfer data between windows forms using events, is
that possible for web forms?
【在 a**y 的大作中提到】 : Another way I can think of is to serilize your data and : SOAP it into message queue. Read the SOAP data by the : second page you want to transfer to. It's good for : unsynchorized situation.
| a**y 发帖数: 335 | 6 Can you post a sample?
【在 m*******n 的大作中提到】 : i remember that you can transfer data between windows forms using events, is : that possible for web forms?
| m*******n 发帖数: 154 | | a**y 发帖数: 335 | 8 In this sample, it's just like one form raises an event and the second
receives it. Transfering date is simply done by: Me.lblData.Text =
f2.TB1.Text
So, actually, i think the data transfer has nothing to do with events.
events,
【在 m*******n 的大作中提到】 : http://www.devcity.net/net/article.aspx?alias=multipleforms3 : : is
|
|