tquerysuccessbak.jsp

来自「小型论文管理系统 功能还不是很完善 有待改进」· JSP 代码 · 共 33 行

JSP
33
字号
<%@page contentType="text; charset=GBK"%>
<html>
<head>
<title>tQuerySuccess</title>
</head>
<body bgcolor="#ffffff">
<h1>恭喜您:查询成功</h1>
<jsp:useBean id="scoreInfo" scope="session" type="stumanage.beans.ScoreInfo"></jsp:useBean>
<center> <center>共查询到记录数:<%= scoreInfo.getRow() %></center>
<%int i = 0;%>
  <table border="1">
    <tr>
      <th align="center"> 学   号 </th>
      <th align="center"> 姓   名 </th>
      <th align="center"> 课   题 </th>
      <th align="center"> 分   数 </th>

    </tr>
    <% while(i<scoreInfo.getRow()) {%>
      <tr>

        <td><%=scoreInfo.getSNo(i) %></td>
        <td><%=scoreInfo.getSName(i) %></td>
        <td><%= scoreInfo.getSubject(i) %></td>
        <td><%= scoreInfo.getScore(i) %></td>

      </tr>
    <% i++;}%>
  </table>
</center>
</body>
</html>

⌨️ 快捷键说明

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