📄 mailbox.aspx
字号:
<%@ Page language="c#" Codebehind="Mailbox.aspx.cs" AutoEventWireup="false" Inherits="BronzeMonkey.WebMail.Mailbox" debug="True"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>WebForm1</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="layout.css" type=text/css rel=stylesheet>
</head>
<body>
<form id=Mailbox method=post runat="server">
<div id=MenuContent><b>Actions</b><br>
<br>
<table>
<tr vAlign=center>
<td align=right><img src="images/task.gif"></td>
<td align=left><a href="TaskList.aspx">Return to Task List</a></td>
</tr>
</table>
</div>
<div id=CenterContent><asp:button id=Button1 runat="server" Text="Retrieve Mail"></asp:button><br>
<asp:literal id=Literal1 runat="server"></asp:literal><br>
<asp:datagrid id=DataGrid1 runat="server" AutoGenerateColumns="False" Width="100%" BorderColor="WhiteSmoke" BackColor="White">
<alternatingitemstyle backcolor="Ivory"></alternatingitemstyle>
<headerstyle backcolor="Gainsboro"></headerstyle>
<columns>
<asp:boundcolumn DataField="FromAddress" SortExpression="From" HeaderText="From">
<headerstyle wrap="False" width="0px"></headerstyle>
<itemstyle wrap="False"></itemstyle>
<footerstyle wrap="False"></footerstyle>
</asp:boundcolumn>
<asp:templatecolumn HeaderText="Subject">
<headerstyle wrap="False" width="100%"></headerstyle>
<itemstyle wrap="False"></itemstyle>
<itemtemplate>
<asp:Label runat="server" Text='<%# @"<a href=""Message.aspx?MessageID=" +
DataBinder.Eval(Container, "DataItem.MessageID").ToString() +
@""">" + DataBinder.Eval(Container, "DataItem.Subject").ToString() +
@"</a>"
%>' >
</asp:label>
</itemtemplate>
<footerstyle wrap="False"></footerstyle>
</asp:templatecolumn>
<asp:boundcolumn DataField="ReceivedDate" SortExpression="ReceivedDate" HeaderText="Received" DataFormatString="{0:MM/dd/yyyy}">
<headerstyle wrap="False" width="0px"></headerstyle>
<itemstyle wrap="False"></itemstyle>
<footerstyle wrap="False"></footerstyle>
</asp:boundcolumn>
</columns>
</asp:datagrid><br>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -