📄 importstu.aspx
字号:
<%@ Page AutoEventWireup="false" Inherits="px.importstu" %>
<!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>
<link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
<script type="text/jscript" src="../js/common.js"></script>
<script type="text/jscript" src="../js/prototype.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0"><tbody>
<tr><td><a href="#">系统首页</A> » 学生批量导入页面</td></tr></tbody></table><table class="guide" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td valign="top" style="height: 28px; text-align: center" align="center">
<table style="width: 805px">
<tr>
<td style="width: 99px">
<span style="color: #0000ff">默认密码设置</span></td>
<td colspan="2">
<input id="mm" type="text" /> <span style="color: #ffffff;
background-color: #990000">为空则系统会设置为1</span></td>
</tr>
<tr style="color: #ff6600">
<td colspan="3">
<span style="color: #990000; background-color: #ffffff">MDB 数据库对应设置信息,您可以通过页面上传或者FTP上传的方式将待导入的数据库传到服务器上。<br />
<li>
在本页面上传数据库请确保您的数据库文件扩展名为mdb,否则将无法上传,若您的待导入的数据库较大,通过页面上传会花费比较长的<br />
时间请耐心等待或者通过FTP上传。
</li>
<li>通过FTP方式上传请将你要导入的数据库放在根目录的imports文件夹下面且文件名必须为importsstu.config。</li></span>
</td>
</tr>
<tr>
<td style="width: 99px">
<span style="color: #0000ff">上传数据库</span></td>
<td colspan="2">
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button3" runat="server" CausesValidation="False" Text="上传数据库" />(若数据库文件太大建议您通过FTP上传数据库)</td>
</tr>
<tr>
<td style="width: 99px">
<span style="color: #0000ff">MDB表名</span></td>
<td colspan="2">
<input id="bm" type="text" onchange="showTotals();"/><span id="total"></span></td>
</tr>
<tr style="color: #ff6600">
<td style="width: 99px">
<span style="color: #0000ff">班级字段</span></td>
<td colspan="2">
<input id="bj" type="text" /></td>
</tr>
<tr style="color: #ff6600">
<td style="width: 99px">
<span style="color: #0000ff">专业字段</span></td>
<td colspan="2">
<input id="zy" type="text" /></td>
</tr>
<tr style="color: #ff6600">
<td style="width: 99px">
<span style="color: #0000ff">性别字段</span></td>
<td colspan="2">
<input id="xb" type="text" />
男性性别区分字符<input id="xbtz" type="text" />(支持多个,请根据您的数据内容填写 例如"1" "男")</td>
</tr>
<tr>
<td style="width: 99px">
<span style="color: #0000ff">姓名字段</span></td>
<td colspan="2">
<input id="xm" type="text" /></td>
</tr>
<tr>
<td style="width: 99px">
<span style="color: #0000ff">学号字段</span></td>
<td colspan="2">
<input id="xh" type="text" /></td>
</tr>
<tr>
<td colspan="3">
<input id="Button1" style="width: 129px" type="button" value="开始导入" onclick="alert('导入操作所占用的时间将视导入数据量而定\n操作过程中您可以勾选或取消勾选旁边的[进度详细]来查看当前进度');importtable(0)" />
<input id="Checkbox1" type="checkbox" />进度详细条数信息</td>
</tr>
<tr style="color: #ff6600">
<td colspan="3">
<span style="color:#990000; font-size: 14px;">
<br />
<span style="background-color: #ffffcc">本页面提供Access的学生数据库导入功能,请确保您的Access数据库<span
style="color: #ff0000; background-color: #ffcc99"><strong>至少有以上几个字段</strong></span>,且<span
style="color: #ff0000; background-color: #ffcc99"><strong>班级字段存储的信息必须和本系统中的班级表中的班级名称对应</strong></span>,否则将无法加入信息.<br />
<br />
</span></span></td>
</tr>
</table>
</td>
</tr>
</table>
以下显示最近数据导入时的产生的错误信息<br />
<input id="Button2" style="width: 122px" type="button" value="清空错误信息" onclick="$('info').innerHTML=''"/><br /><div style="border:2px dashed blue; padding:10px 10px 10px 10px; "><div id="info" style=" display:none">处理信息<br /></div></div>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -