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

📄 viewuser.asp

📁 --- --- --- --- --- --- --- --- --- --- --- --- --- --- 该程序由2001计算机信息管理系应田丰开发 本程序学历文凭考试相关流程编写
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
	response.write "您无此权限"
	response.end
end if

'------------------------------------------------------------------------------------
'该程序由杭州新世纪经贸专修学院2001计算机信息管理系应田丰开发
'本程序按浙江省学历文凭考试相关流程编写,无任何抄袭代码和盗版之嫌,大家可下载随意修改
'苦儿声明:
'本程序是老苦自己辛苦写成的,希望大家能给个面子保留著作权信息,:)
'这个是第一个版本,有些地方没有考虑到,请大家在试用后给些意见,我好继续编写改进版
'苦儿QQ:3431788 7551860
'MSN:kuer_cn@msn.com
'Email:simonying@163.com
'电话:0571-63413694 
'移动电话:13083973989
'------------------------------------------------------------------------------------
%>

<%
dim id
id=trim(request("id"))

set rs=server.createobject("adodb.recordset")
sql="select * from st_info where id="& id
rs.open sql,conn,1,1
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>查看学生详细信息</title>
<link rel="stylesheet" href="style.css">
</head>

<body topmargin="0">
<!--#include file="top.asp"-->
<div align="center">
  <center>
<table width="500">
  <form method="POST" action="add_ach.asp">
    <table border="1" width="600" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
      <tr>
        <td width="486" colspan="6">添加学生成绩</td>
      </tr>
      <tr>
        <td width="99" align="center">准号证号</td>
        <td width="99" align="center">学生姓名</td>
        <td width="100" align="center">考试场次</td>
        <td width="100" align="center">考试科目</td>
        <td width="100" align="center">考试成绩</td>
        <td width="100" align="center"> </td>
      </tr>
      <tr>
        <td width="99" align="center"><%=rs("user_testnumber")%></td>
        <input type="hidden" value="<%=rs("user_testnumber")%>" name="user_testnumber">
        <input type="hidden" value="<%=rs("user_name")%>" name="user_name">
        <input type="hidden" value="<%=rs("user_class")%>" name="user_class">
        <td width="99" align="center"><%=rs("user_name")%></td>
        <td width="100" align="center"><select size="1" name="testno">
        <%
        set rs2=server.createobject("adodb.recordset")
        sql2="select * from testno"
        rs2.open sql2,conn,1,1
        %>
        <%do while not rs2.eof%>
          <option value="<%=rs2("testno")%>"><%=rs2("testno")%></option>
      		<%rs2.movenext%>
      		<%loop%>
      		<%rs2.close%>
          </select></td>
        <td width="100" align="center"><select size="1" name="subject">
        <%
        set rs1=server.createobject("adodb.recordset")
        sql1="select * from subject"
        rs1.open sql1,conn,1,1
        %>
        <%do while not rs1.eof%>
          <option value="<%=rs1("subject")%>"><%=rs1("subject")%></option>
      		<%rs1.movenext%>
      		<%loop%>
      		<%rs1.close%>
          </select></td>
        <td width="100" align="center"><input type="text" name="ach" size="10"></td>
        <td width="100" align="center"><input type="submit" value="提交" name="B1"></td>
      </tr>
    </table>
  </form>
   </table>
  </center>
</div>
<div align="center">
  <center>
  <table border="0" width="500" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%">
          <table border="1" width="100%" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
            <tr>
              <td width="100%" colspan="2">
                <p align="center">查看学生详细信息</td>
            </tr>
            <tr>
              <td width="37%" align="right">学号:</td>
              <td width="63%" align="left"><%=rs("user_number")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">姓名:</td>
              <td width="63%" align="left"><%=rs("user_name")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">准考证号:</td>
              <td width="63%" align="left"><%=rs("user_testnumber")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">身份证号:</td>
              <td width="63%" align="left"><%=rs("user_idnumber")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">性别:</td>
              <td width="63%" align="left"><%=rs("user_sex")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">出生年月:</td>
              <td width="63%" align="left"><%=rs("user_time")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">省市:</td>
              <td width="63%" align="left"><%=rs("user_city")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">地县:</td>
              <td width="63%" align="left"><%=rs("user_area")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">地址:</td>
              <td width="63%" align="left"><%=rs("user_address")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">邮编:</td>
              <td width="63%" align="left"><%=rs("user_postcode")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">家庭电话:</td>
              <td width="63%" align="left"><%=rs("user_homephone")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">寝室电话:</td>
              <td width="63%" align="left"><%=rs("user_bedroomphone")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">移动电话:</td>
              <td width="63%" align="left"><%=rs("user_mobilephoe")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">专业:</td>
              <td width="63%" align="left"><%=rs("user_major")%></td>
            </tr>
            <tr>
              <td width="37%" align="right">班级:</td>
              <td width="63%" align="left"><%=rs("user_class")%></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">高考成绩:</td>
              <td width="63%" align="left"><%=rs("user_collogetestach")%></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">奖惩情况:</td>
              <td width="63%" align="left"><%=rs("user_rp")%></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">备注信息:</td>
              <td width="63%" align="left"><%=rs("user_info")%></td>
            </tr>
            <tr>
              <td width="100%" align="right" valign="top" colspan="2">
                <p align="center"><a href="mod_info.asp?id=<%=rs("id")%>">编辑该学生信息</a></td>
            </tr>
          </table>
      </td>
    </tr>
  </table>
  </center>
</div>
<!--#include file="down.asp"-->
</body>

</html>

⌨️ 快捷键说明

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