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

📄 jec_edit.asp

📁 C# SQL 齐齐哈尔职业学院学生成绩管理系统
💻 ASP
字号:
<!--#include file="chkadmin.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<title>学生成绩管理系统</title>
</head>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from [jec] where id="&Request("id"),conn,1,3
%>

<body>
<div align="center">
  <center>
      <form method="POST" action="jec_edit_ok.asp?id=<%=rs("id")%>">
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#ffffff" width="100%">
    
    <tr>
      <td width="100%" background="../Images/admin_table_bg.gif" height="25" colspan="2">
      <p align="center"><b><font color="#FFFFFF">修改考试类型</font></b></td>
    </tr>
    
    <tr>
      <td width="9%" height="15" bgcolor="#D9E6FF">考试名称:</td>
      <td width="91%" height="15" bgcolor="#D9E6FF">
      <input type="text" name="jec" size="20" value="<%=rs("jec")%>" tabindex="1"></td>
    </tr>
    <tr>
      <td width="9%" height="15" bgcolor="#D9E6FF">科目数:</td>
      <td width="91%" height="15" bgcolor="#D9E6FF">
 
     
     <font color="#FF0000">&nbsp;&nbsp;<%=rs("jecsum")%> </font>
     
     &nbsp;修改:<select size="1" name="jecsum" tabindex="2">
     <option>1</option>
     <option>2</option>
     <option>3</option>
     <option>4</option>
     <option>5</option>
     <option>6</option>
     <option>7</option>
     <option>8</option>
     </select> </font></td>
    </tr>
    <tr>
      <td width="9%" height="15" bgcolor="#D9E6FF">所属专业:</td>
      <td width="91%" height="15" bgcolor="#D9E6FF">
<%
set fs=server.createobject("adodb.recordset")
fs.open "select * from [pro] where id="&rs("proid"),conn,1,1
Response.Write fs("pro")
fs.Close
Set fs=nothing
%></td>
    </tr>
    <tr>
      <td width="100%" height="15" bgcolor="#D9E6FF" colspan="2">
         <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="100%" height="1">
          <tr>
            <td width="9%">所属科目:</td>
            <td width="91%">
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="100%" id="AutoNumber1" height="133">
        <tr>
          <td width="100%" height="128">
          <%
Dim j(8),i
j(1)=rs("j1")
j(2)=rs("j2")
j(3)=rs("j3")
j(4)=rs("j4")
j(5)=rs("j5")
j(6)=rs("j6")
j(7)=rs("j7")
j(8)=rs("j8")
set fs=server.createobject("adodb.recordset")
For i=1 to rs("jecsum")
sid=j(i)
fs.open "select * from [sub] where id="&sid,conn,1,1
Response.Write i& "." & fs("sub") & "<br>"
fs.Close
Next
Set fs=Nothing
%>
</td>
        </tr>
        </table>
            </td>
          </tr>
          <tr>
            <td width="9%" height="21"> </td>
            <td width="91%" height="21">

   <input type="submit" value="修  改" name="B1" tabindex="3"></td>
          </tr>
        </table>
   
      </td>
    </tr>
    </table>
    </form>
  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

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