论文部分内容阅读
一个基于B/S模式的系统,不可能只有一个页面,在很多情况下,需要多个页面来完成特定的功能,而这多个页面之间必然要产生一定的联系,也就是说,网页之间需要进行数据的传输,从而实现数据的共享。基于ASP.NET的网站中,除了广泛应用的超级链接在两个网页之间传递参数之外,还有更高效的数据传输方式,比如使用Session对象、ViewState对象、Application对象、数据库文件等。该文将分析基于ASP.NET网页间数据传输的几种情况和具体实现。
A system based on B / S mode can not have only one page, in many cases, it takes more than one page to perform a specific function, and there must be some connection between the multiple pages, that is, the webpage Between the need for data transmission, in order to achieve data sharing. ASP.NET-based Web site, in addition to widely used hyperlinks to pass parameters between two web pages, there are more efficient data transfer methods, such as the use of Session objects, ViewState objects, Application objects, database files. This article will analyze several situations and concrete implementations of data transmission between ASP.NET pages.