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

📄 checklogin.asp

📁 .添加单个成绩 2.批量添加成绩 3.通过搜索并修改与删除 4.直接修改 5.可以批量删除 6.可以直接GO到达你想到达的页 7.分页显示 8.代码精简 9.整合部分重复代码 1
💻 ASP
字号:
<% 
response.buffer=true
Response.Expires=0
xh=request("xh")
mm=request("mm")
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("class_cj.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from user where xh='"&xh&"' and mm='"&mm&"'"
rs.open sql,conn,3,3
if rs.eof then
response.write("<table width=300 border=0 cellspacing=0 cellpadding=0 align=center>")
response.write("<a href=vbscript:history.back()>回去重来</a>")
response.write("</table>")
response.end
else %>
<title>25175学生成绩管理系统v1.51</title>
<link href="20041026_25175_stry_css.css" rel="stylesheet" type="text/css">
<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" 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="add.asp">添加单个成绩</a></td>
    <td width="100" align="center"><a href="adds.asp">批量添加成绩</a></td>
    <td width="100" align="center" bgcolor="#EEEEEE"><a href="res.asp">按学号查询</a></td>
    <td width="100" align="center"><a href="res1.asp">按班级查询</a></td>
    <td width="100" align="center"><font color="#0000CC" size="2"><a href="admin.asp">管理页面</a></font></td>
    <td width="100" align="center"><a href="logout.ASP">退出</a></td>
  </tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="25">您的身份已经确认[学号:<%=xh%>]</td>
  </tr>
  <tr>
    <td>
	<form action="look.asp" method="post" name="form1" >
  <table border="0" cellpadding="0" cellspacing="0">
    <tr> 
            <td height="25" nowrap>
              <div align="center">查询成绩:</div>        
	        </td>
            <td width="200" height="25"> 
              <input type="hidden" name="xh" value="<%=request("xh")%>">
              <input name="submit" type="submit" value="确定"></td>
    </tr>
  </table>
    </form>  </td>
  </tr>
</table>
<%
end if
%>
<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>

⌨️ 快捷键说明

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