edituser.asp
上传用户:xzjhbl
上传日期:2021-05-23
资源大小:397k
文件大小:2k
- <!--#include file="conn.asp"-->
- <%
- dim id
- id=request.querystring("id")
- if id<>"" then
- set rs=server.createobject("adodb.recordset")
- cmd="select * from userlogin where kaohao='"&id&"'"
- rs.open cmd,conn,1,3
- session("id")=id
- else
- response.Write("<script>alert('请至少选择一个考生');window.location.href('Manageuser.asp')</script>")
- response.end
- end if
- %>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>无标题文档</title>
- <style type="text/css">
- <!--
- .style3 {font-size: 14px}
- body {
- background-color: #3399CC;
- }
- -->
- </style>
- </head>
- <body>
- <form name="form1" method="post" action="updatauser.asp">
- <table width="366" height="108" border="0" align="center">
- <tr>
- <td width="69"> </td>
- <td width="242"> </td>
- <td width="41"> </td>
- </tr>
- <tr>
- <td><span class="style3">考生考号:</span></td>
- <td><input name="kaohao" type="text" disabled="disabled" id="kaohao" value="<%=rs("kaohao")%>"></td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style3">考生姓名:</span></td>
- <td><input name="user" type="text" id="user" value="<%=rs("user")%>"></td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style3">考生密码:</span></td>
- <td><input name="psw" type="password" id="psw" value="<%=rs("passwd")%>"></td>
- <td> </td>
- </tr>
- <tr>
- <td><span class="style3">考生成绩:</span></td>
- <td><input name="score" type="text" id="score" value="<%=rs("score")%>"></td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td><input type="submit" name="Submit" value="修改">
- <input type="reset" name="Submit2" value="取消"></td>
- <td> </td>
- </tr>
- </table>
- </form>
- </body>
- </html>