studentupdate.aspx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:18k
- <%@ page language="C#" autoeventwireup="true" inherits="Admin_admin_StudentFileAdd, App_Web_nv4v7tk7" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>学生系统后台管理</title>
- <script src="inc/admin.js" type="text/javascript"></script>
- <script src="inc/showpage.js" type="text/javascript"></script>
- <link href="images/css.css" type="text/css" rel="stylesheet" />
- <link href="images/admin_file_css.css" type="text/css" rel="stylesheet" />
- <script src="inc/admin_File_js.js" type="text/javascript"></script>
- <script src="../Admin/js/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="inc/admin_stuid.js" type="text/javascript"></script>
- <script src="../Admin/js/hanshu.js" type="text/javascript"></script>
- <script src="../Admin/js/jquery.validate.min.js" type="text/javascript"></script>
- <style type="text/css">
- #Button1{
- clear: left;
- float: left;
- border: 1px solid #ccc;
- width:120px;
- height:50px;
- line-height: 40px;
- margin: 1px 10px;
- padding-top:3px;
- }
- #Button2{
- clear: left;
- float: left;
- border: 1px solid #ccc;
- width:120px;
- height:50px;
- line-height: 40px;
- margin: 1px 10px;
- padding-top:3px;
- }
- </style>
- <script type="text/javascript">
- function changeCol(bb) {
- var data;
- $.get("../Admin/handler/GetProByCol.ashx", { colid: bb.value }, GetColBind1);
- }
- function ChangePro(bb) {
- $.get("../Admin/handler/AddCal.ashx", { Proid: bb.value, Ljid: $("#ddlLj_id").val(), Colid: $("#ddlCol_id").val() }, GetColBindBanJi);
- }
- $(function() {
- if ($("#hfProData").val()!="") {
- BindSelectData1($("#hfProData").val(), "ddlPro_id");
- $("#ddlPro_id").val($("#hfpro_id").val());
- // if ($("#hfClaData").val()!="") {
- BindSelectData($("#hfClaData").val(), "ddlClaid");
- $("#ddlClaid").val($("#hfcla").val());
- }
- });
- $(function() {
- $("#form1").validate({// #formId为需要进行验证的表单ID
- errorElement: "div", // 使用"div"标签标记错误, 默认:"label"
- wrapper: "li", // 使用"li"标签再把上边的errorELement包起来
- errorClass: "validate-error", // 错误提示的css类名"error
- focusCleanup: false, // 当未通过验证的元素获得焦点时,并移除错误提示
- rules: {
- ddlLj_id: {// 需要进行验证的输入框name
- required: true// 验证条件:必填
- },
- ddlCol_id: {// 需要进行验证的输入框name
- required: true// 验证条件:必填
- },
- ddlPro_id: {
- required: true
- },
- ddlClaid: {
- required: true
- }
- },
- messages: {
- ddlLj_id: {
- required: "请选择一个年届!"// 验证未通过的消息
- },
- ddlCol_id: {
- required: "请选择一个系所!"// 验证未通过的消息
- },
- ddlPro_id: {
- required: "请选择一个专业!"// 验证未通过的消息
- },
- ddlClaid: {
- required: "请输入班级名称!"// 验证未通过的消息
- }
- }
- });
- });
-
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <h1>
- 学生档案信息添加</h1>
- <h4>
- <b>相关操作:</b><a href="?action=add">添加信息</a> </h4>
- <div style="height: 3px; width: 100%; background: #fff;">
- </div>
- <div id="tabs0" style="width: ">
- <ul class="menu0" id="menu0">
- <li onclick="setTab(0,0)" class="hover">基本资料</li>
- </ul>
- <div class="main" style="width: 722px; height: 600px;" id="main0">
- <input type="hidden" name="action" value="stu">
- <input type="hidden" name="id" value="0">
- <ul class="block">
- <li>
- <table width="98%" cellspacing="0" cellpadding="0" class="filetab">
- <tr>
- <td width="15%" align="center">
- 姓 名
- </td>
- <td colspan="2" width="40%">
- <input runat="Server" type="text" id="txtName" size="20">
- </td>
- <td rowspan="5" width="25%">
- <img src="..uploaddefault.gif" id="imageurl" name="imageurl" width="90" height="120"><br>
- 像片规格:90*120
- </td>
- <td rowspan="14" width="20%" align="center" valign="top" style="padding-top: 10px;">
- <div class="file_butt">
- <asp:Button runat="server" ID="Button1" Text="确定" OnClick="Button1_Click"></asp:Button>
- <input id="Button2" name="reset" type="reset" value="重 置">
- <a href="admin_StudentFile.aspx"><span class="t3">返 回</span></a></div>
- </td>
-
- </tr>
- <tr>
- <td align="center">
- 曾 用 名
- </td>
- <td colspan="2">
- <input runat="Server" type="text" id="txtHis" size="20">
- </td>
- </tr>
- <tr>
- <td align="center">
- 性 别
- </td>
- <td colspan="2">
- <label>
- <input type="radio" name="Gender" value="1" style="border: 0;" <%= ch[0].ToString() %>>男
- </label>
- <label>
- <input type="radio" name="Gender" value="2" style="border: 0;" <%= ch[1].ToString() %>>女
- </label>
- </td>
- </tr>
- <tr>
- <td align="center">
- 出生日期
- </td>
- <td colspan="2">
- <input runat="Server" type="text" id="txtbirth" size="20" value="2010-01-01">
- </td>
- </tr>
-
- <tr>
- <td align="center">
- 学 号
- </td>
- <td colspan="2">
- <input runat="Server" type="text" id="txtClassNo" size="20">
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td align="center">
- <span lang="zh-cn">所在集体</span>
- </td>
- <td colspan="2">
- 年 届:
- <asp:DropDownList ID="ddlLj_id" runat="server">
- </asp:DropDownList>
- <br>
- 系 所:
- <asp:DropDownList ID="ddlCol_id" onchange="changeCol(this)" runat="server">
- </asp:DropDownList>
- <br>
- 专 业:
- <select runat="Server" id="ddlPro_id" name="ddlPro_id" enableviewstate="true" onchange="ChangePro(this)">
- <option value="">请选择</option>
- </select>
- <span id="pro_id_txt"></span>
- <br>
- 班 级:
- <select id="ddlClaid" runat="Server" name="ddlClaid">
- <option value="">请选择</option>
- </select>
- <span id="cla_id_txt"></span>
- </td>
- <td>
- </td>
- </tr>
- <tr>
- <td align="center">
- 身份证号
- </td>
- <td>
- <input runat="Server" type="text" id="txtidentityNo" size="20">
- </td>
- <td align="center">
- EMAIL
- </td>
- <td>
- <input runat="Server" type="text" id="txtemail" size="20">
- </td>
- </tr>
- <tr>
- <td align="center">
- 宗教信仰
- </td>
- <td width="25%">
- <input runat="Server" type="text" id="txtc1" size="20">
- </td>
- <td width="15%" align="center">
- 政治面貌
- </td>
- <td>
- <select runat="Server" id="ddlPolitical">
- <option value="0" selected>其它</option>
- <option value="1">群众</option>
- <option value="2">团员</option>
- <option value="3">党员</option>
- </select>
- </td>
- </tr>
- <tr>
- <td align="center">
- 民 族
- </td>
- <td>
- <select runat="Server" id="ddlNational">
- <option value="0" selected>其它</option>
- <option value="1">汉族</option>
- <option value="2">壮族</option>
- <option value="3">毛南族</option>
- <option value="4">乌孜别克族</option>
- <option value="5">塔塔尔族</option>
- <option value="6">布依族</option>
- <option value="7">土家族</option>
- <option value="8">白族</option>
- <option value="9">蒙古族</option>
- <option value="10">畲族</option>
- <option value="11">哈尼族</option>
- <option value="12">高山族</option>
- <option value="13">土族</option>
- <option value="14">仡佬族</option>
- <option value="15">俄罗斯族</option>
- <option value="16">独龙族</option>
- <option value="17">回族</option>
- <option value="18">朝鲜族</option>
- <option value="19">哈萨克族</option>
- <option value="20">拉祜族</option>
- <option value="21">达斡尔族</option>
- <option value="22">锡伯族</option>
- <option value="23">鄂伦春族</option>
- <option value="24">鄂温克族</option>
- <option value="25">藏族</option>
- <option value="26">满族</option>
- <option value="27">傣族</option>
- <option value="28">水族</option>
- <option value="29">仫佬族</option>
- <option value="30">阿昌族</option>
- <option value="31">德昂族</option>
- <option value="32">赫哲族</option>
- <option value="33">维吾尔族</option>
- <option value="34">侗族</option>
- <option value="35">黎族</option>
- <option value="36">东乡族</option>
- <option value="37">羌族</option>
- <option value="38">普米族</option>
- <option value="39">保安族</option>
- <option value="40">门巴族</option>
- <option value="41">苗族</option>
- <option value="42">瑶族 </option>
- <option value="43">傈僳族</option>
- <option value="44">纳西族</option>
- <option value="45">布朗族</option>
- <option value="46">塔吉克族</option>
- <option value="47">裕固族</option>
- <option value="48">珞巴族</option>
- <option value="49">彝族</option>
- <option value="50">柯尔克孜族</option>
- <option value="51">佤族</option>
- <option value="52">景颇族</option>
- <option value="53">撒拉族</option>
- <option value="54">怒族</option>
- <option value="55">京族</option>
- <option value="56">基诺族</option>
- </select>
- </td>
- <td align="center">
- 籍 贯
- </td>
- <td>
- <input runat="Server" type="text" id="txtBirthplace" size="20">
- </td>
- </tr>
- <tr>
- <td align="center">
- 家庭住址
- </td>
- <td>
- <input runat="Server" type="text" id="txtaddress" size="20">
- </td>
- <td align="center">
- 邮 编
- </td>
- <td>
- <input runat="Server" type="text" id="txtZip" size="20">
- </td>
- </tr>
- <tr>
- <td align="center">
- 联系电话
- </td>
- <td>
- <input runat="Server" type="text" id="txtTelephone" size="20">
- </td>
- </tr>
- </table>
- </li>
- </ul>
- </div>
- </div>
- <h1>
- </h1>
- <asp:HiddenField ID="hfpro_id" runat="server" />
- <asp:HiddenField ID="hfcla" runat="server" />
- <asp:HiddenField ID="hfProData" runat="server" />
- <asp:HiddenField ID="hfClaData" runat="server" />
- </form>
- </body>
- </html>