摘要
在目前的Web网站开发过程中,信息的展示越来越重要,一个网站的成功与否,门户页面是关键。本文介绍一种用于在门户页面中展示新闻列表信息的方法,可以大大地减少研发人员的开发工作量。在一般的新闻列表页面中,虽然看到的信息丰富多彩、展现形式不一,但是在具体的设计过程中都是将新闻信息从数据库中取出来,在页面上显示。本文给出的基于ASP.NET用户控件的方法,结合ListView通过复用自定义用户控件实现新闻列表的展示,这种方法极大地提高了工作效率,同时也为系统的维护带来了方便。
In the current website development process, the display of information is more and more important, so a Web site is successful or fail, the portal page is the key. This paper introduces a method for displaying information in the portal page, which can greatly reduce the workload to developers. In the general news pages, although we saw the information is rich and colorful, the forms of display are different, but in the specific design process, the news is all got from the database, and displayed on the page. In this paper, the method based on the ASP. NET user controls, combined with ListView by reusing custom user controls to get list of the news, which greatly improves work efficiency, but also brings the convenience for the maintenance of the system.
出处
《计算机与现代化》
2010年第4期107-110,共4页
Computer and Modernization