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

📄 student_adminlook3.asp

📁 .添加单个成绩 2.批量添加成绩 3.通过搜索并修改与删除 4.直接修改 5.可以批量删除 6.可以直接GO到达你想到达的页 7.分页显示 8.代码精简 9.整合部分重复代码 1
💻 ASP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>25175学生成绩管理系统v1.51</title>
<style type="text/css">
<!--
@import url("20041026_25175_stry_css.css");
-->
</style>
</head>
<body>

<table width="768" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td width="754" valign="top" bgcolor="#A0A4AC" style="line-height:140%;"> 网站名称:<font color="#0000FF"><a href="http://www.25175.com">SP.25175</a></font><br>
      网站LOGO:<a href="http://www.25175.com/logo1.GIF">http://www.25175.com/logo1.GIF</a><br>
      网站地址:<font color="#0000FF"><a href="http://www.25175.com">http://www.25175.com</a><br>
      </font>世界排名:<font color="#0000FF"><a href="http://www.alexa.com/data/details/?url=www.25175.com" target="_blank">http://www.alexa.com/data/details/?url=www.25175.com</a><br>
    </font> 在线聊天:<a href="http://wpa.qq.com/msgrd?V=1&Uin=29752345&Site=www.25175.com&Menu=yes">29752345</a></td>
  </tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30" bgcolor="#A0A4AC"><div align="center" class="unnamed3write">25175学生成绩管理系统v1.51(正式版)</div></td>
  </tr>
</table>
<table width="768" height="25" align="center" cellpadding="0" cellspacing="0" class="unnamed_rld2">
  <tr bgcolor="#EEEEEE">
    <td width="100" height="25" align="center"><a href="index.asp">首页</a></td>
    <td width="100" align="center"><a href="student_res1.asp">按学号查询</a></td>
    <td width="100" align="center"><a href="student_res2.asp">按班级查询</a></td>
    <td width="100" align="center" bgcolor="#EEEEEE"><a href="student_res3.asp">按姓名查询</a></td>
    <td width="100" align="center"><a href="student_res4.asp">按课程查询</a></td>
    <td width="100" align="center"><a href="student_res5.asp">按成绩查询</a></td>
    <td width="100" align="center"><a href="student_res6.asp">按学期查询</a></td>
    <td width="100" align="center"><a href="student_res7.asp">按类型查询</a></td>
  </tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25"><%
	user=request("user")
	set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("user")<>"" then
	sql="select * from bbs1 where user like'" & user & "'"
else
	sql="select top 1 * from bbs1"
end if
rs.Open sql,conn,1,1
totalput=rs.RecordCount
if rs.EOF and  rs.BOF then
	Response.Write "当前没有这个姓名的成绩~~~~~~~~~~"
else
%></td>
  </tr>
</table>
<table width="768"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
          <td>
                <table width="768" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="25" bgcolor="#F2F2F2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="unnamed2_14">班级:</span><%=rs("bj")%></td>
                  </tr>
                </table>                <table width="768" border="0" cellpadding="0" cellspacing="0" height="25">
                  <tr> 
                    <td width="14%" align="center" height="25"> 
                      <div align="center">学号</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">姓名</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">课程</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">成绩</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">学期</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">类型</div></td>
                    <td width="14%" align="center" height="25"> 
                      <div align="center">操作</div></td>
                  </tr>
                </table>                <table width="768" height="25" border="0" cellpadding="0" cellspacing="0">
                  <%
	do while not rs.eof
%>
                  <tr> 
                    <td width="14%" height="20"">
                    
                      <div align="center"><%=rs("xh")%></div></td>
                    <td width="14%"><div align="center"><%=rs("user")%></div></td>
                    <td width="14%"><div align="center"><%=rs("kc")%></div></td>
                    <td width="14%"><div align="center"><%=rs("cj")%></div></td>
                    <td width="14%"><div align="center"><%=rs("xq")%></div></td>
                    <td width="14%"><div align="center"><%=rs("lx")%></div></td>
                    <td width="14%">
                      <div align="center"><a href="update.asp?id=<%=rs("id")%>"  class="blue" >修改</a>&nbsp; 
                    <a href="delete.asp?id=<%=rs("id")%>" class="blue" onClick="return Delete();">删除</a></div></td>
                  </tr>
                 

<%
	rs.movenext
	loop
end if
rs.Close 
set rs=nothing
set conn=nothing
%>
            </table></td>
        </tr>
</table>
        <table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table>
        <table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30" bgcolor="#A0A4AC"><div align="center" class="unnamed3write"><a href="http://www.25175.com" class="unnamed3write">powered by 25175.com</a></div></td>
          </tr>
        </table>
</body>
</html>




⌨️ 快捷键说明

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