Using ASP.net to implement one of the xml-based guest books

Source: Internet
Author: User
Tags implement

A Profile:

The guest book is an important part of the website, is the place that the visitor comments, is also the website administrator to understand the website basic situation powerful tool. So the guest book plays an important role in today's website.

But it's not easy to develop a guest book in the past, and developers often have a lot of work to do. And now with the introduction of Microsoft Vs.net, the corresponding technology innovation. In particular, the extensive use of XML in the. NET Framework makes the entire. NET Framework extremely advantageous. Vs.net launched in the same time, but also accompanied by a new language C #. As an important part of Microsoft. NET strategy, C # has exceptional performance. So the ASP.net program in this paper is described in C # language, and the whole program is based on XML. I used XML as a database of programs, mainly because the servers support XML files.

Two Requirements:

(1). Net SDK Beta2 and later versions

(2) Support for ASP.net Web servers

Three Description

The examples in this article are made up of two parts:

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

(2) viewguestbook.aspx-first set up a DataSet object, after the establishment, it is easy to display the data. I used a "Repeater" here to display data in a dataset. Also, readers can try to modify the viewing page according to their preferences.



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.