📄 filemain.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FileMain.aspx.cs" Inherits="File_FileManage_FileMain" %>
<!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="../../css/childrenMainDivCss.css" rel="stylesheet" type="text/css" />
<link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="page">
<table bgcolor="#a5cfe8" border="0" bordercolor="#cccccc" cellpadding="0" cellspacing="0"
class="" width="99%">
<tr>
<td nowrap="nowrap" width="1" style="height: 22px">
<asp:ImageButton ID="imgbtnBack" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmback.gif" onmouseout="this.src='../../images/file/fmback.gif';"
onmouseover="this.src='../../images/file/fmback1.gif';" ToolTip="后退一步" Width="56px" /></td>
<td nowrap="nowrap" width="1" style="height: 22px">
<asp:ImageButton ID="imgbtnUp" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmup.gif" onmouseout="this.src='../../images/file/fmup.gif';"
onmouseover="this.src='../../images/file/fmup1.gif';" ToolTip="向上一级" Width="31px" /></td>
<td nowrap="nowrap" width="1" style="height: 22px">
<asp:ImageButton ID="imgbtnSeach" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="~/images/file/fmseach.gif" onmouseout="this.src='../../images/file/fmseach.gif';"
onmouseover="this.src='../../images/file/fmseach1.gif';" ToolTip="搜索文件或文件夹" Width="58px" /></td>
<td width="33" style="height: 22px">
<asp:ImageButton ID="imgbtnFolderShow" runat="server" Height="22px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmfoldershow1.gif" Width="67px" /></td>
<td width="33" style="height: 22px">
<asp:ImageButton ID="imgbtnNewFolder" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmnewfolder.gif"
onmouseout="this.src='../../images/file/fmnewfolder.gif';" onmouseover="this.src='../../images/file/fmnewfolder1.gif';"
ToolTip="新增文件夹" Width="22px" /></td>
<td nowrap="nowrap" width="1" style="height: 22px">
<asp:ImageButton ID="imgbtnNewFile" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmnewfile.gif" onmouseout="this.src='../../images/file/fmnewfile.gif';"
onmouseover="this.src='../../images/file/fmnewfile1.gif';" ToolTip="新增文件" Width="22px" /></td>
<td nowrap="nowrap" style="height: 22px">
</td>
<td nowrap="nowrap" style="width: 91%; height: 22px;">
</td>
</tr>
</table>
<table bgcolor="#a5cfe8" border="0" bordercolor="#cccccc" cellpadding="0" cellspacing="0"
height="51" style="width: 99%">
<tr>
<td nowrap="nowrap" width="31" style="height: 53px">
<asp:Label ID="lblAddress" runat="server" Height="22px" Text="地址:" Width="37px"></asp:Label></td>
<td nowrap="nowrap" style="width: 398px; height: 53px;">
<div style="width: 457px; position: relative; height: 23px">
<asp:TextBox ID="txtFolderPath" runat="server" Height="26px" Width="425px"></asp:TextBox><asp:Image
ID="imgDrive" runat="server" ImageUrl="../../images/file/img-folder.gif" />
</div>
</td>
<td nowrap="nowrap" style="width: 60px; height: 53px;">
<asp:ImageButton ID="imgbtnGoto" runat="server" Height="20px" ImageAlign="AbsBottom"
ImageUrl="../../images/file/fmgoto.gif" Width="51px" /></td>
</tr>
</table>
<asp:GridView ID="gvFileInfo" runat="server" AllowPaging="True" AutoGenerateColumns="False"
BackColor="#FFF7E7" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px"
DataKeyNames="fileid"
PageSize="5" Width="99%">
<FooterStyle BackColor="#F7DFB5" ForeColor="#000066" />
<RowStyle BackColor="#BFE6F9" ForeColor="#000066" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#738A9C" ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<HeaderStyle BackColor="#66CCFF" HorizontalAlign="Center" />
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Image ID="imgFileType" runat="server" Height="16px" Width="16px" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="名称">
<ItemTemplate>
<asp:HyperLink ID="hlFileName" runat="server"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="filetype" HeaderText="类型" />
<asp:BoundField DataField="remark" HeaderText="备注" />
<asp:BoundField DataField="fileowner" HeaderText="所有者" />
<asp:BoundField DataField="createdate" HeaderText="创建日期" />
<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton ID="imgbtnDetail" runat="server" AlternateText="属性" CommandName="detail"
Height="13px" ImageUrl="~/images/file/detail.gif" Width="16px" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton ID="imgbtnMove" runat="server" AlternateText="移至" CommandName="move"
Height="16px" ImageUrl="~/images/file/fmmove.gif" Width="16px" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:ImageButton ID="imgbtnDelete" runat="server" AlternateText="删除" CommandName="remove"
Height="13px" ImageUrl="~/images/file/delete.gif" Width="13px" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -