?? cr.jsp
字號(hào):
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>參加考試的人數(shù)</title>
<style type="text/css">
<!--
@import url("_notes/ccc");
-->
</style>
</head>
<body background="images/left_bottom.jpg">
<jsp:useBean id="adminBean" scope="page" class="exam.exam"/>
<%String sql="select count(*) as num from student where state=1 and power=1";
ResultSet rs=adminBean.executeQuery(sql);
rs.next();
int count=rs.getInt("num");
rs.close();
%>
<table width="216" height="181" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="136" valign="bottom">
<table width="190" height="40" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="123" class="ccc">缺席考試的人數(shù)為</td>
<td width="54"><div align="center" class="ccc"><%=count%></div></td>
</tr>
</table>
<table width="203" height="80" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><a href="javascript:window.close()" class="ccc">|關(guān)閉窗口|</a></td>
</tr>
</table> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -