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

📄 addstudent.asp

📁 学生管理功能: 1.添加单个成绩 2.批量添加成绩 3.通过搜索并修改与删除
💻 ASP
字号:
<!--#include file="a25175_top.asp"-->
<link href="../25175css_pro.css" rel="stylesheet" type="text/css">

<!--#include file="../Function.asp"-->
<!--#include file="a25175_conn.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>
<body>
<table width="970" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="188" rowspan="2" valign="top"><!--#include file="adminleft.asp"--></td>
  </tr>
  
  <tr>
    <td valign="top"><form name="form1" method="post" action="">
        <table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#ADD7FF">
          <tr bgcolor="#FFFFFF">
            <td width="10%" height="40" align="center">序号</td>
            <td width="50%" height="40" align="center">评价内容【删除】</td>
            <td height="40" colspan="4" align="center"> 评价分数</td>
          </tr>
          <% typed=3
		    strsql="select count(*) as total from content where typed="&typed
		    set rs=db.execute(strsql)
		    JISHU=RS("TOTAL")
			session("jishu")=jishu
		    JISHU1=JISHU
		    strsql="select * From content Where typed="&typed&" order by showid"
		    set rs=db.execute(strsql)
			 JISHU=JISHU+1
		    J=1
		    do while not rs.eof AND JISHU<>J
		    content=rs("content")
		   score=split(rs("score"),"*") 
		   %>
          <tr bgcolor="#FFFFFF">
            <td width="10%" height="40" align="center"><%RESPONSE.Write J%>            </td>
            <td width="50%" align="center"><%=CONTENT%><a href="contentdel.asp?URL=Addstudent.asp&ID=<%=rs("ID")%>">删除</a></td>
            <%for i=0 to 3 
			  IF I=0 THEN
			   response.Write "<td width='10%' align='center'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&" checked>"&"</td>"
			   ELSE
		      response.Write "<td width='10%' align='center'>"&score(i)&"<input type='radio' name="&"RAD"&J&" value="&score(i)&">"&"</td>"
              END IF
		  NEXT
		  %>
          </tr>
          <%J=J+1
			rs.movenext
			loop%>
        </table>
      </form></td>
    <td width="9" background=""></td>
  </tr>
</table>
</body>
</html><!--#include file="../foot.asp"-->

⌨️ 快捷键说明

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