A forum program written in asp.net

Source: Internet
Author: User
Tags mail unique id
Asp.net| Program This is a asp.net written by the forum program, although simple but can run.
The programming idea of this program actually still basically extends the way of ASP, if let that big Bird see may want to hiss of nose. In practice, however, this approach is useful for the rapid migration of ASP programs to asp.net. If you don't care about this transplant, this post will open your eyes to the asp.net shrimp who are just getting started.
This example contains 3 parts
1) forum.aspx-Forum homepage.
2 reply.aspx-When you click on a post in the Forum homepage, call to display the details of the posts.
3) postmessage.aspx-on paste, save content in database
Database StructureTable-newpost:this table would contain the new Topic posted Messagespostid (primary key) The unique ID for each New topi C.namethe name of the author of the Message.emaile-mail address of the author.subjectsubject of the MESSAGE.IPIP address O f The author.datedate/time of the postmessagemessage Posted.repliesnumber of replies to the post (if any) Viewsnumber of Times the message has been viewed.
Table-reply:this table would contain the replies made to the new Topics.replyid (primary key), the unique ID for each REPL Y.namename of the Author.emaile-mail address of the author.subjectsubject of the postipip of the author.datedate/time of Post.messagemessage Posted.postidpostid from the ' newpost ' table for which this message is a reply.

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.