Web/File/Default.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="File_Default" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>在线文件管理系统 -- 首页 -- 程序开发Csaspx</title>
<script language="javascript" type="text/javascript" src="js/javascript.js"></script>
<link rel="stylesheet" rev="stylesheet" href="../common/control.css" type="text/css" media="all" />
</head>
<body class="ContentBody">
<form id="form1" encType="multipart/form-data" runat="server">
<div class="MainDiv">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="CContent">
<tr>
<th class="CTitle">数据库与文件 - 附件管理</th>
</tr>
<tr>
<td class="CPanel">
<div class="SubMenu"><a href="../ConContent.aspx?Fmenu=SQLFile">数据库管理</a> | <a href="?Fmenu=SQLFile&Smenu=Attachments">附件管理</a></div>
<div align="left" style="padding:5px;">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="25" style="font-size:12px;color:#000000;">
<asp:ImageButton ID="UpBtn" runat="server" ToolTip="返回上层目录" ImageUrl="images/hup_one_level.gif" OnClick="TopPath"></asp:ImageButton><asp:ImageButton ID="GoRoot" runat="server" ImageUrl="images/home_icon.gif" OnClick="HomePath" AlternateText="返回主目录"></asp:ImageButton>目录: <asp:label id="Header" runat="server"></asp:label></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellPadding="0" cellSpacing="1" bgcolor="#FFFFFF">
<tr >
<td width="35" height="25" align="center" style="font-size:12px; color:#ffffff; font-weight: bold;" bgColor="#3A6EA5">属性</td>
<td align="center" style="font-size:12px; color:#ffffff; font-weight: bold;" bgColor="#3A6EA5">
文件名
<td width="50" style="font-size:12px; color:#ffffff; font-weight: bold;" align="center" bgColor="#3A6EA5">
大小 </td>
<td width="100" style="font-size:12px; color:#ffffff; font-weight: bold;" align="center" bgColor="#3A6EA5">
更新日期 </td>
<td width="35" style="font-size:12px; color:#ffffff; font-weight: bold;" align="center" bgColor="#3A6EA5">删除 </td>
</tr>
<asp:placeholder id="FilesFolders" runat="server"></asp:placeholder></table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="22" align="right" style="font-size:12px;color:blue;"><asp:CheckBox ID="AutoName" runat="server" Text="自动重命名" /> 上传文件:
<input name="file" style="border-color:#CCCCCC;border-width:1px;border-style:solid;height:20px;width:320px;" type="file" id="fileToUpload" runat="server" />
<asp:Button CssClass="button" ID="UploadBtn" runat="server" Text="上传文件" OnClick="UploadBtn_Click"></asp:Button></td>
</tr>
<tr>
<td height="22" align="right" bgcolor="#E6E6E6" style="font-size:12px;color:blue;">新建文件:
<asp:TextBox ID="NewFileText" runat="server" style="border-color:#CCCCCC;border-width:1px;border-style:solid;height:20px;width:320px;"></asp:TextBox>
<asp:Button CssClass="button" ID="NewFileBtn" runat="server" Text="新建文件" OnClick="NewFileBtn_Click"></asp:Button></td>
</tr>
<tr>
<td height="22" align="right" style="font-size:12px;color:blue;">新建目录:
<asp:TextBox ID="NewFolderText" runat="server" style="border-color:#CCCCCC;border-width:1px;border-style:solid;height:20px;width:320px;"></asp:TextBox>
<asp:Button CssClass="button" ID="NewFolderBtn" runat="server" Text="新建目录" OnClick="NewFolderBtn_Click"></asp:Button></td>
</tr>
<tr>
<td height="22" align="right" bgcolor="#E6E6E6" style="font-size:12px;color:blue;">转到目录:
<asp:TextBox ID="setRootTxt" runat="server" style="border-color:#CCCCCC;border-width:1px;border-style:solid;height:20px;width:320px;"></asp:TextBox>
<asp:Button CssClass="button" ID="setRootBtn" runat="server" Text="转到目录" OnClick="setRootBtn_Click"></asp:Button></td>
后面还有 11 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
