欢迎光临
我们一直在努力

用asp.net写的论坛程序-.NET教程,Asp.Net开发

建站超值云服务器,限时71元/月

这是一个用asp.net写的论坛程序,虽然简单但可以运行。
这个程序的编程思想其实还是基本延续了asp的方式,如果让那只大鸟儿看见可能要嘘之以鼻。但实际上这种方式对于asp程序向asp.net的快速移植还是有用的。如果你对这种移植不屑那也没办法,这个贴子就算给asp.net刚入门的小虾们开开眼。
这个例子包含3部分
1)forum.aspx-论坛主页。
2)reply.aspx-当在论坛主页中点击一个贴子时调用,显示贴子详细内容。
3)postmessage.aspx-上贴时调用,将内容保存入数据库
数据库结构   

table – newpost :this table will contain the new topic posted messages
postid (primary key) the unique id for each new topic.
name the name of the author of the message.
email e-mail address of the author.
subject subject of the message.
ip ip address of the author.
date date / time of the post
message message posted.
replies number of replies to the post (if any)
views number of times the message has been viewed.

table – reply :this table will contain the replies made to the new topics.
replyid (primary key) the unique id for each reply.
name name of the author.
email e-mail address of the author.
subject subject of the post
ip ip of the author.
date date / time of post.
message message posted.
postid postid from the "newpost" table for which this message is a reply.
赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 用asp.net写的论坛程序-.NET教程,Asp.Net开发
分享到: 更多 (0)