作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (22): 88-90. doi: 10.3969/j.issn.1000-3428.2009.22.030

• 软件技术与数据库 • 上一篇    下一篇

ASP.NET页面间传值综述

范明虎,樊 红   

  1. (武汉大学测绘遥感信息工程国家重点实验室,武汉 430079)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-11-20 发布日期:2009-11-20

Overview of Value-passing Between Pages layout in ASP.NET

FAN Ming-hu, FAN Hong   

  1. (State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan 430079)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-11-20 Published:2009-11-20

摘要: 对ASP.NET中各种页面间传值方法进行综述,阐述实现这些方法所必需的对象的概念、作用和特点,讨论这些方法的优缺点,通过实例代码给出这些方法的基本应用,并从生命周期、应用范围、可传递的数据类型和数据量4个方面对这些方法进行比较和分析。介绍了实现这些方法时常用的2种页面重定向方法。

关键词: 页面, 变量, 传值, 重定向, 比较, 分析

Abstract: This paper reviews a variety of methods of value-passing between pages in ASP.NET Necessary objects for implementing these methods are expatiated on their concepts, roles and characteristics. The advantages and disadvantages of these methods are discussed. The basic applications of these methods are given through examples. A brief analysis and comparison for these methods is made from four aspects: life cycle, scope of applications, data type and data size. Two commonly used methods of redirection in implementing these methods are introduced.

Key words: pages layout, variable, value-passing, redirection, comparison, analysis

中图分类号: