⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kccj_list.asp

📁 这是一个基于SQL平台的数据库程序
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file = "conn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>课程成绩情况</title>
<style>
	@import URL("xscj.css");
</style>
</head>
<body>
<%
set rs = server.CreateObject("ADODB.recordset")
sql = "select xs.XH,XM,XB,ZY,KC.KCH,KCM,CJ from XS,KC,XS_KC where XS.XH=XS_KC.XH and KC.KCH=XS_KC.KCH and KC.KCH='"&request("kch")&"'"
rs.open sql,conn,1,1
%>
<table align="center" bordercolor="#000000" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<caption class="pagenote1">
<%="课程号为"+request("kch")+"成绩情况"%>
</caption>
<tr align="center" class="tableth1" height="40">
<td width="80">学号</td>
<td width="80">姓名</td>
<td width="40">性别</td>
<td width="100">专业</td>
<td width="60">成绩</td>
</tr>
<% while not rs.eof%>
<tr height="23">
<td><%=rs("XH")%></td>
<td><%=rs("XM")%></td>
<td align="center">
<%if rs("XB") then
	temp = "男"
  else
    temp = "女"
  end if
%>
<%=temp%>
</td>
<td><%=rs("ZY")%></td>
<td align="center"><%=rs("CJ")%></td>
</tr>
<%rs.movenext
wend%>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -