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

📄 add_info.asp

📁 本程序是为了减轻教务工作全部手工操作的压力
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("user")="" then
	response.write "您无此权限"
	response.end
end if
%>

<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="738" height="35" cellspacing="0" cellpadding="0">
  <td background="images/top_1.jpg">&nbsp; <a href="info_manager.asp">学生信息列表</a>   
    | <a href="add_info.asp">录入学生信息</a> | <a href="search_st.asp">查询学生信息</a></table>  
  </center>
</div>
<div align="center">
  <center>
  <table border="0" width="500" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%">
        <form method="POST" action="add_info1.asp">
          <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"><input type="text" name="user_number" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">姓名:</td>
              <td width="63%" align="left"><input type="text" name="user_name" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">准考证号:</td>
              <td width="63%" align="left"><input type="text" name="user_testnumber" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">身份证号:</td>
              <td width="63%" align="left"><input type="text" name="user_idnumber" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">性别:</td>
              <td width="63%" align="left"><input type="radio" value="男" checked name="user_sex">男 
                <input type="radio" name="user_sex" value="女">女</td>
            </tr>
            <tr>
              <td width="37%" align="right">出生年月:</td>
              <td width="63%" align="left"><input type="text" name="user_time" size="20" value="1983-03-13">输入格式按标准输入</td>
            </tr>
            <tr>
              <td width="37%" align="right">省市:</td>
              <td width="63%" align="left"><input type="text" name="user_city" size="10"></td>
            </tr>
            <tr>
              <td width="37%" align="right">地县:</td>
              <td width="63%" align="left"><input type="text" name="user_area" size="10"></td>
            </tr>
            <tr>
              <td width="37%" align="right">地址:</td>
              <td width="63%" align="left"><input type="text" name="user_address" size="30"></td>
            </tr>
            <tr>
              <td width="37%" align="right">邮编:</td>
              <td width="63%" align="left"><input type="text" name="user_postcode" size="10"></td>
            </tr>
            <tr>
              <td width="37%" align="right">家庭电话:</td>
              <td width="63%" align="left"><input type="text" name="user_homephone" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">寝室电话:</td>
              <td width="63%" align="left"><input type="text" name="user_bedroomphone" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">移动电话:</td>
              <td width="63%" align="left"><input type="text" name="user_mobilephoe" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">专业:</td>
              <td width="63%" align="left"><input type="text" name="user_major" size="20"></td>
            </tr>
            <tr>
              <td width="37%" align="right">班级:</td>
              <td width="63%" align="left"><select size="1" name="user_class">
              <%set rs1=server.createobject("adodb.recordset")%>
              <%sql1="select * from class"%>
              <%rs1.open sql1,conn,3,3%>
              <%do while not rs1.eof%>
                                <option value="<%=rs1("stclass")%>"><%=rs1("stclass")%></option>
                                <%rs1.movenext%>
                                <%loop%>
                                <%rs1.close%>

                </select></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">高考成绩:</td>
              <td width="63%" align="left"><textarea rows="3" name="user_collogetestach" cols="30"></textarea></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">奖惩情况:</td>
              <td width="63%" align="left"><textarea rows="3" name="user_rp" cols="30"></textarea></td>
            </tr>
            <tr>
              <td width="37%" align="right" valign="top">备注信息:</td>
              <td width="63%" align="left"><textarea rows="3" name="user_info" cols="30"></textarea></td>
            </tr>
            <tr>
              <td width="100%" colspan="2">
                <p align="center"><input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></td>
            </tr>
          </table>
        </form>
      </td>
    </tr>
  </table>
  </center>
</div>
<!--#include file="down.asp"-->
</body>

</html>

⌨️ 快捷键说明

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