在asp.net中将数据从一页传输到另一页的最佳方法。 [英] Best Way to transfer data From one page to another In asp.net.
问题描述
在我的场景中,我使用Java脚本弹出窗口,该弹出窗口弹出另一种形式,该形式是其中只有20个控件的地址输入形式。现在,我使用会话变量从地址页到主页检索数据,该会话变量存储值的数据表。这种永久性和临时性地址使用两种不同的Session变量。
In my scenario am using java-script popup that popups another form which is an address entry form of merely 20 Controls in it. Now I retrieving data from address page to main page by using a session variable which stores a data table of values. Two different Session variables are this way used for permanent and temporary addresses.
使用session变量会降低我所知道的性能。
Using session variable degrades the performance i know.
将值从一页转移到另一页的最佳方法是什么?
What is the best way to transfer value from one page to another?
推荐答案
最好的方法是交叉发布,在此处进行描述: http://msdn.microsoft.com/zh-cn/library/ms178139(VS.100).aspx
The best way is the cross posting, describe it here : http://msdn.microsoft.com/en-us/library/ms178139(VS.100).aspx
您还可以阅读有关该问题/答案的更多信息:跨页面发布。在Asp.net中使用PreviousPage是一个好习惯吗?
You can also read more about at that question/answer: Cross-page posting. Is it a good pratice to use PreviousPage in Asp.net?
这篇关于在asp.net中将数据从一页传输到另一页的最佳方法。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!