📄 admin_count.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<%
if session("ok")="" then
Response.Write "<script>alert(""非法用户,你没有登录本系统!"");location.href=""index.asp"";</script>"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-family: 宋体;
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #666666;
}
a:hover {
text-decoration: underline;
color: #FF0000;
}
a:active {
text-decoration: none;
color: #000066;
}
-->
</style></head>
<body>
<table border="1" cellspacing="0" width="100%" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC" style="font-family:宋体; font-size:10pt; text-align:center;" align="center">
<tr bgcolor="#339900">
<td height="25" colspan="3">学生详细统计情况
</td>
</tr>
<tr>
<td height="17" colspan="3"> </td>
</tr>
<tr>
<td width="8%" rowspan="10"> </td>
<td height="25" align="left">
<% rs.open "select * from infor ",conn,1,1 %>
学生总数共:<font color=red><%=rs.recordcount %></font> 人
<% rs.close
%></td>
<td width="5%" rowspan="10"> </td>
</tr>
<tr>
<td height="25" align="left">
<%
rs.open "select * from infor where jieye=true",conn,1,1 %>
结业人数共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where jieye=false",conn,1,1 %>
未结业人数共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where pinkun=true",conn,1,1 %>
来自贫困村人数共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where pinkun=false",conn,1,1 %>
非来自贫困村人数共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where class='电脑初级'",conn,1,1 %>
电脑初级班学生共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where class='电脑中级'",conn,1,1 %>
电脑中级班学生共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where class='电脑高级'",conn,1,1 %>
电脑高级班学生共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><%
rs.open "select * from infor where class='电脑维修'",conn,1,1 %>
电脑维修班学生共:<font color=red><%=rs.recordcount %></font> 人
<%
rs.close
%></td>
</tr>
<tr>
<td height="25" align="left"><% set conn=nothing %> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -