📄 mailbox.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MailBox.aspx.cs" Inherits="MailBox" %>
<%@ Register src="left.ascx" tagname="left" tagprefix="uc1" %>
<!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>
</head>
<body style="margin-left:0px; margin-top:0px; font-family:宋体; font-size:12px">
<form id="form1" runat="server">
<div style="text-align:center">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="background-color: #66CCFF; height:50px; font-size:30pt; font-family: 华文彩云; font-weight: bold; color:White;">邮件收发系统
</td>
</tr>
<tr>
<td style="height: 92px" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="height: 500px; width:15%; background-color: #66CCFF; border-right:1px #c1c1c1 solid;" valign="top">
<uc1:left ID="left1" runat="server" />
</td>
<td style="height: 500px; width:85%; border-right:1px solid #c1c1c1;" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td style="height: 10px">
<asp:Label ID="lbl_msg1" runat="server"></asp:Label></td>
</tr>
<tr>
<td style="height: 12px">
<asp:Label ID="lbl_msg" runat="server"></asp:Label></td>
</tr>
<tr>
<td>
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333"
GridLines="None" onpageindexchanging="GridView1_PageIndexChanging" PageSize="5"
Width="100%">
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:TemplateField HeaderText="From">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("From") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Subject">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Subject") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Date">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Date") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<PagerStyle BackColor="White" ForeColor="Blue" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#7C6F57" />
<HeaderStyle BackColor="#66CCFF" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:GridView ID="gv_Maillist" DataKeyNames="MailID" runat="server"
AutoGenerateColumns="False" CellPadding="4"
ForeColor="#333333" GridLines="None" Width="100%"
OnRowDeleting="gv_Maillist_RowDeleting" >
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="MailTo" HeaderText="收件人" >
<ItemStyle HorizontalAlign="Center" Width="20%" />
</asp:BoundField>
<asp:HyperLinkField DataTextField="MailSubject" HeaderText="主题" >
<ItemStyle HorizontalAlign="Center" Width="70%" />
</asp:HyperLinkField>
<asp:CommandField ButtonType="Button" ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#66CCFF" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
</table>
<asp:Label ID="lbl_msg2" runat="server"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height: 12px; background-color: #66CCFF; font-family: 华文新魏; font-weight: bold; color:White; font-size:14pt">
06级软件(2)班-邓文姬</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -