📄 importresult.asp
字号:
<!-- #include file = "../include/asphead.asp" -->
<link href="../include/main.css" rel="stylesheet" type="text/css">
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function Close()
{
if(ImportedCount.value>0)
parent.window.returnValue = true;
else
parent.window.returnValue = false;
parent.window.close();
}
//-->
</script>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</HEAD>
<BODY>
<%
dim ResultCaption,ErrDesc
dim ImportedCount,DiscardCount,Result
Result=Request.Cookies("ImExport")("Result")
if Result=0 then
ResultCaption="导入完成"
ErrDesc=""
ImportedCount=Request.Cookies("ImExport")("ImportedCount")
DiscardCount=Request.Cookies("ImExport")("DiscardCount")
if ImportedCount="" then
ImportedCount=0
end if
else
ResultCaption="导入失败"
ErrDesc=""
ImportedCount=0
DiscardCount=0
if Result=2 and Request.Cookies("Temp")("ImportFor")="dictitem" then
ErrDesc="字典项目过多,同一类的选项最多容纳 900 个。"
end if
end if
%>
<table width="100%" border=0 cellPadding=0 cellSpacing=0>
<tr height=35>
<td>
<b><%=ResultCaption%></b>
</td>
</tr>
<tr height=230>
<td>
<table width="60%" border=0 cellPadding=0 cellSpacing=0>
<% if ImportedCount>0 then%>
<tr>
<td>
成功导入行数: <%=ImportedCount%>
</td>
</tr>
<%end if%>
<% if DiscardCount>0 then%>
<tr>
<td>
数据有问题未导入行数:<%=DiscardCount%>
</td>
</tr>
<%end if%>
<tr height=100>
<td>
<%=ErrDesc%>
</td>
</tr>
</table>
</td>
</tr>
<tr height=40 valign=bottom>
<td>
<p align=center>
<input id="btnClose" type="button" value="关闭" name="btnClose" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Close()">
</p>
</td>
</tr>
</table>
<input TYPE="hidden" NAME="ImportedCount" value="<%=ImportedCount%>">
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -