📄 selectcourseleft.asp
字号:
<!--#include file="../include/keepHouse.asp"-->
<html>
<head>
<title><%=WebName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../include/WebCourseSettlementStyle.Css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" bgcolor=#F5F5F5>
<%
call insureID()
if Session("USER_TYPE")<>"Student" and Session("USER_TYPE")<>"Admin" then
response.end
end if
sql="select ARRANGE_ID,COURSE_ID,COURSE_NAME,TEACHER_NAME from VIEW_Select where STUDENT_ID='"&Session("USER_NAME")&"'"
'call Debug(sql)
call openDB()
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write "<br><br><div align=center>您暂时还没有选课</div>"
response.End
end if
%>
<br><br>
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#0000dd" bordercolordark="#FFFFFF" bgcolor="#F0F0F0">
<tr bgcolor=#99CCFF>
<td colspan="5" height="28"><div align="center"><font size='+1' face='黑体'>你的选课表</font></div></td>
</tr>
<%
dim i
i=1
while not rs.eof
%>
<tr>
<td width="8%"><%=i%></td>
<td width="14%"><%=rs("COURSE_ID")%></td>
<td width="38%"><%=rs("COURSE_NAME")%></td>
<td width="28%"><%=rs("TEACHER_NAME")%></td>
<td width="12%"><a href="saveCancle.asp?ARRANGE_ID=<%=rs("ARRANGE_ID")%>">退课</a></td>
</tr>
<%
i=i+1
rs.movenext
wend
call closeDB()
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -