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

📄 class_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>

<body>

<%
Dim proid,id
id=Request.QueryString("id")
proid=Request.QueryString("proid")
set rs=server.createobject("adodb.recordset")
rs.open "select * from [class] where id="&id,conn,1,3

%>
<div align="center">
  <center>
<form method="POST" action="class_edit_ok.asp?id=<%=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"><font color="#FFFFFF"><b>修改班级信息</b></font></td>
    </tr>
    
    <tr>
      <td width="11%" height="15" bgcolor="#D9E6FF">所属专业:</td>
      <td width="89%" height="15" bgcolor="#D9E6FF">
      <select name="proid" tabindex="1">
<%
set fs=server.createobject("adodb.recordset")
fs.open "select * from [pro]",conn,1,1
If fs.RecordCount=0 Then
Response.Write "<option>没有专业</option>"
Else
Do While Not fs.EOF
  If fs("id")=proid Then
    Response.Write  "<option selected value=" & fs("id") & ">" &fs("xi")&fs("pro") &"</option>"
  Else
%>      
      <option value=<%=fs("id")%>><%=fs("xi")&fs("pro")%></option>
<%
End If
fs.MoveNext
Loop
End If
fs.Close
Set fs=nothing
%>
      </select></td>
    </tr>
    <tr>
      <td width="11%" height="15" bgcolor="#D9E6FF">班级编号:</td>
      <td width="89%" height="15" bgcolor="#D9E6FF">
      <input type="text" name="num" size="5" tabindex="2" value="<%=rs("num")%>">&nbsp; (例如:052,041等)</td>
    </tr>
<%
rs.Close
Set rs=nothing
%>    
    <tr>
      <td width="11%" height="15" bgcolor="#D9E6FF"> </td>
      <td width="89%" height="15" bgcolor="#D9E6FF">
      <input type="submit" value="添 加" name="B1" tabindex="3"></td>
    </tr>
    </table>
   </form>
  </center>
</div>

</body>

</html>

⌨️ 快捷键说明

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