计算机毕业设计前台功能介绍:
5.1系统主界面
在IE里运行本系统,出现系统的主界面,包括登陆信息、文件下载、博客信息、日志信息等模块。
以下是引用片段:
相关代码如下: 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 onMou='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"); }
for (int i = 0; i < tmpda.Rows.Count; i++) { strRz = strRz + " - " + tmpda.Rows[i]["主题"] + "<" + Convert.ToDateTime(tmpda.Rows[i]["时间"].ToString()).Date.ToShortDateString() + "><>
"; }
tmpda = tmpData.Get_Table("select * from 博客,(select 帐号,count(*) as 文章数量 from 日志 group by 帐号 ) A where(博客.帐号 = A.帐号) order by 文章数量 DESC "); for (int i = 0; i < tmpda.Rows.Count; i++) { strBk = strBk + "" + tmpda.Rows[i]["名称"].ToString() + "<" + tmpda.Rows[i]["文章数量"].ToString() + "><> "; }
tmpda = tmpData.Get_Table("select * from 文件"); for (int i = 0; i < tmpda.Rows.Count; i++) { strFile = strFile + "" + tmpda.Rows[i]["文件名"].ToString() + "<><>"; }
|
〖资料来源:计算机毕业论文 www.xiaoniu168.com〗
第8页为计算机毕业论文会员功能介绍......