📄 browerdocument.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BrowerDocument.aspx.cs" Inherits="BrowerDocument" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>浏览文档</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="../../Css/ASPNET2BaseCss.css" type="text/css" rel="stylesheet">
</HEAD>
<body leftMargin="0" topMargin="0">
<form id="Form1" method="post" runat="server">
<table class="GbText" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2" cellSpacing="0"
cellPadding="0" width="100%" border="1" align="left">
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">文档标题:</FONT></TD>
<TD width="81%">
<asp:Label id="Title" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">上传人:</FONT></TD>
<TD width="81%">
<asp:Label id="RealName" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">上传日期:</FONT></TD>
<TD width="81%">
<asp:Label id="UploadDate" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">下载次数:</FONT></TD>
<TD width="81%">
<asp:Label id="ViewCount" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">最后访问时间:</FONT></TD>
<TD width="81%">
<asp:Label id="LastViewDate" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">最后访问人:</FONT></TD>
<TD width="81%">
<asp:Label id="LastViewer" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">文档作者:</FONT></TD>
<TD width="81%">
<asp:Label id="Author" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="21" align="right"> <FONT face="宋体">文档来源:</FONT></TD>
<TD width="81%" style="HEIGHT: 21px">
<asp:Label id="FromSource" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right"> <FONT face="宋体">文档简介:</FONT></TD>
<TD width="81%"><FONT face="宋体"></FONT>
<asp:Label id="Content" runat="server"></asp:Label></TD>
</TR>
<TR>
<TD width="25%" height="22" align="right" valign="top"> <FONT face="宋体">附件列表:</FONT></TD>
<TD width="81%" valign="top">
<table>
<tr>
<td><FONT face="宋体"></FONT> </td>
<td><asp:GridView Height="100%" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2" cellSpacing="0"
cellPadding="0" id="AccessoryList" CssClass="GbText" Runat="server" BorderWidth="1" AutoGenerateColumns="False" width="100%">
<Columns>
<asp:TemplateField HeaderText="资源属性">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "FileType")%>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" Width="100px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="资源名称">
<ItemTemplate>
<asp:HyperLink ID="AccessoryLink" Runat="server" NavigateUrl='<%# Request.ApplicationPath + DataBinder.Eval(Container.DataItem,"Url") %>'>
<%# DataBinder.Eval(Container.DataItem,"Desn") %>
</asp:HyperLink>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Left" />
<ItemStyle Width="300px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="资源图片">
<ItemTemplate>
<asp:Image ID="AccessoryPicture" Runat="server" Width="40" Height="30" ImageUrl='<%# "~" + DataBinder.Eval(Container.DataItem,"Url") %>' Visible='<%# DataBinder.Eval(Container.DataItem,"AttachType").ToString() == "1" ? true:false %>'>
</asp:Image>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" Width="120px" />
</asp:TemplateField>
</Columns>
<RowStyle BorderColor="#93BEE2" BorderWidth="1px" />
</asp:GridView></td>
</tr>
</table>
</TD>
</TR>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -