用循环做课程表输出表格

作者:袖梨 2022-06-30
最近在做一个实验、机房预约系统,最开始用的dreamwaver做的表格,很大,而且程序共有3000多行,很不方便管理和修改~
最近用循环和判断做了一个输出表格,源程序如下
第"&weektime&"周")
else
if not blie=9 then
response.Write("
")
xqnotemp=blie-1
if xqnotemp=1 then xqno="一"
if xqnotemp=2 then xqno="二"
if xqnotemp=3 then xqno="三"
if xqnotemp=4 then xqno="四"
if xqnotemp=5 then xqno="五"
if xqnotemp=6 then xqno="六"
if xqnotemp=7 then xqno="日"
response.Write("星期"&xqno)
response.write("
"&(bhang+2)/4&"小节")
response.Write(" ")
response.write("
")
response.write("实验名称")
response.write("
")
response.write("

相关文章

精彩推荐