Use Asp.net to implement one of the XML-based message books

Source: Internet
Author: User

As an important part of a website, the guestbook is a place for visitors to express their opinions. It is also a powerful tool for website administrators to understand the basic information of the website. Therefore, the message book plays an important role in the current website.

However, it was not easy to develop a message book before, and developers often had a lot of work. Now, with the launch of VS.net by Microsoft, the corresponding technology is being innovated. In particular, XML is widely used in. net Framework, which makes the entire. net architecture have a very good foundation. At the same time as VS.net was launched, a new Language C # came along #. As an important part of Microsoft's. net strategy, C # has excellent performance. Therefore, the asp.net program in this article is described in C # language, and the whole program is based on XML. I used XML as a program database, mainly because the servers support XML files.

Ii. Requirements:

(1). Net SDK Beta2 and later versions

(2) Web servers supporting Asp.net

Iii. Description:

The example in this article consists of two parts:

(1) guestpost. aspx-Add User information to an XML file

(2) viewguestbook. aspx-create a DataSet object first, and then the data is easily displayed. Here I used a "Repeater" to display data in the dataset. Also, you can try to modify the page according to your preferences.

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.