Analysis of ASP. NET JavaScript and ole db Design network diary

Source: Internet
Author: User

ASP. NET JavaScript and ole db. This article assumes that you are familiar with Visual Basic. NET and JavaScript abstract in most cases, ASP. NET advanced templated controls such as DataList and DataGrid) is the best choice for data representation. However, when you need flexible layout, the Repeater control is what you need. In this article, the author will build a fully functional network diary application to illustrate how to use the Repeater and DataList controls to present nested data in the master-slave relationship. Then, the author will introduce how to replace the default implementation of these controls by adding client JavaScript code that makes the network diary more responsive and more available.

The Analysis of ASP. NET JavaScript and ole db designed network diaries today, it seems that everyone needs a network diary, and I know that this is what I do. However, I cannot find the pre-built ASP. NET network diary code with the functions I want, so I built my own code. When building your own network applications, the most important thing is that you need to use ASP a lot.. NET Server controls, such as Repeater, DataList, and Calendar. the Web diary application seems to be a simple exercise, but in fact, it requires you to implement many required functions in a typical report application, such as building and displaying master-slave relationships or editing and deleting records, hiding or displaying logon User Content and controls, and managing input and verification of multiple virtual forms on the same page. This article introduces the design and implementation details of the network diary, and can be easily applied to a variety of ASP. NET project technology, and do not consider building these network diaries for business needs or entertainment.

ASP. NET JavaScript and ole db. Before coding, you should determine the type of the network diary you want to build, its functions, and the design method of data storage. Valid network diaries include many functions. The network diary message should be displayed in the order from new to old. Multiple messages can be posted within the same day. These messages should be displayed in a table or box visually, but they can still be identified in the order of posting time. At the same time, the user should be able to select a time interval for the entries she wants to read. This is very important because you do not want to retrieve the old content that the user has already viewed.

The user should be able to comment on any message, and the posted comment should be displayed directly under the parent message, so as to be clear. In addition, the owner of the network diary should be able to post, edit and delete messages and comments, and users should be able to read only messages and post comments. To allow or prohibit users from posting or Editing Based on their identities, some controls need to be displayed or hidden and some form of authentication is required.

The basic information about the design of the Web diary for ASP. NET JavaScript and ole db is introduced here.

  1. ASP. NET learning-CSS implementation multi-interface two methods
  2. Basic Analysis of Cookie programming in ASP. NET
  3. Analysis of ASP. NET Programming habits
  4. Introduction to ASP. NET JavaScript page Integration
  5. Analysis of JavaScript insertion methods in ASP. NET

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.