hsgupfile.aspx
(完整代码) 2KB<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hsgupfile.aspx.cs" Inherits="SimpleExam.hsgupfile" %>
<!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 id="Head1" runat="server">
<title>上传文件</title>
<link href="StyleSheet.css" rel="stylesheet" type="text/css"/>
</head>
<script type="text/javascript">
<!--
function CopyPath(FilePath) {
var str = location.toString()
var Result = ((((str.split('?'))[1]).split('='))[1]);
//window.opener.Form1(Result).focus();
window.opener.document.getElementById(Result).focus();
//window.opener.document.Form1(Result).value=FilePath;
window.opener.document.getElementById(Result).value = FilePath;
window.opener = null;
window.close();
}
//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form id="form1" runat="server">
<div>
<table border="0" align="center" cellpadding="12" cellspacing="1" bgcolor="#6298E1" style="width: 474px">
<tr>
<td bgcolor="#EBF2F9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" nowrap="nowrap" style="width: 83px">选择文件:</td>
<td style="width: 332px">
<input id="UploadFile" runat="server" name="UploadFile" type="file" style="width: 296px" /></td>
<td>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="上传" Width="65px" /></td>
</tr>
<tr>
<td nowrap="nowrap" style="width: 83px; height: 30px;"></td><%--nowrap 属性规定表格单元格中的内容不换行。--%>
<td style="width: 332px; height: 30px">
<a onclick="CopyPath('uppic/<%=fname %>');">
<img alt="" runat="server" src="images/copyUpload.gif" id="hsgimage" /></a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。