ASP.NET个人博客网站的设计与实现(8)

来源:xiaoniu168.com 作者:本站原创 添加时间:2012-01-03 点击数:27136

计算机毕业设计会员功能介绍:

5.2 会员主界面
在IE里运行本系统,出现系统的主界面,包括登陆信息、文件下载、博客信息、日志信息等模块,输入登录信息,系统登录到会员的页面,会员除了上面的基本使用功能外,还包含会员自己的功能:会员信息、会员博客、我的日志、我的评论、博客空间等功能。

以下是引用片段:

相关代码如下:
            strCount = "博客:" + tmpData.Get_Table("select count(*) from 博客").Rows[0][0].ToString() + "" + "日志:" + tmpData.Get_Table("select count(*) from 日志").Rows[0][0].ToString() + "
" + "评论:" + tmpData.Get_Table("select count(*) from 评论").Rows[0][0].ToString() + "<>" + "新闻:" + tmpData.Get_Table("select count(*) from 新闻").Rows[0][0].ToString() + "" + "文件:" + tmpData.Get_Table("select count(*) from 文件").Rows[0][0].ToString();
            tmpda = tmpData.Get_Table("select * from 新闻 order by 时间 desc");
            string tmp = "";
            for (int i = 0; i < tmpda.Rows.Count; i++)
            {
                tmp = tmp + "<>" + tmpda.Rows[i]["主题"] + "<" + Convert.ToDateTime(tmpda.Rows[i]["时间"].ToString()).Date.ToShortDateString() + "><><>";
            }

            //显示日志 文件下载等信息
            strXx = "< height='30px' direction='up' scrolldelay='10' scrollamount=1  onMouseOver='if (document.all!=null){this.stop()}' onMouseOut='if (document.all!=null){this.start()}' color='red'>" + tmp + "";
            if (Request.QueryString["lbid"] == null)
            {
                tmpda = tmpData.Get_Table("select * from 日志 order by 时间 desc");
            }
            else
            {
                tmpda = tmpData.Get_Table("select * from 日志,博客 where 日志.帐号=博客.帐号 and 类别编号=" + Request.QueryString["lbid"].ToString() + " order by 时间 desc");
            }

〖资料来源:计算机毕业论文 www.xiaoniu168.com

第9页为计算机毕业论文管理员功能介绍......

【联系方式】

【本站信誉】

用心做计算机毕业设计论文网