📄 sendmessage.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SendMessage.aspx.cs" Inherits="SendMessage" %>
<!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.css" type="text/css" rel="Stylesheet" />
</head>
<body style="margin:0 0 2 0">
<form id="form1" runat="server">
<div>
<table style="width: 100%; border-collapse:collapse" border="1" borderColor="#BED393">
<tr>
<td colspan="2" align="center" style=" background-color:#EDF3E1">
<font size="6px">站内短信息</font></td>
</tr>
<tr>
<td colspan="2">
<asp:ImageButton ID="btnimagenew" runat="server" ImageUrl="~/Images/newmail.gif" ValidationGroup="all" OnClick="btnimagenew_Click" />
<asp:ImageButton ID="btnimagereceive" runat="server" ImageUrl="~/Images/m_inbox.gif" ValidationGroup="all" OnClick="btnimagereceive_Click" />
<asp:ImageButton ID="btnimagesend" runat="server" ImageUrl="~/Images/m_outbox.gif" ValidationGroup="all" OnClick="btnimagesend_Click" /></td>
</tr>
<tr>
<td valign="middle" align="right" width="15%" class="tdbackcolor" >
收件人:</td>
<td valign="middle">
<asp:TextBox ID="treveive" runat="server" Width="82px" ReadOnly="True"></asp:TextBox>
<asp:DropDownList ID="droppeople" runat="server" AutoPostBack="True" OnSelectedIndexChanged="droppeople_SelectedIndexChanged1">
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="treveive"
ErrorMessage="收件人不能为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td valign="middle" align="right" width="15%" class="tdbackcolor" >
发件人:</td>
<td valign="middle">
<asp:TextBox ID="tsend" runat="server" Width="197px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tsend"
ErrorMessage="发件人不能为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" class="tdbackcolor" >
主题:</td>
<td>
<asp:TextBox ID="tsubject" runat="server" Width="287px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tsubject"
ErrorMessage="信息的主题不能为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td valign="middle" align="right" width="15%" class="tdbackcolor" >
重要性:</td>
<td valign="middle">
<asp:DropDownList ID="dropimportant" runat="server">
<asp:ListItem>一般</asp:ListItem>
<asp:ListItem>重要</asp:ListItem>
<asp:ListItem>紧急</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" valign="top" class="tdbackcolor" >
内容:</td>
<td>
<asp:TextBox ID="tcontent" runat="server" Width="90%" TextMode="MultiLine" Height="145px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tcontent"
ErrorMessage="邮件内容不能为空">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" class="tdbackcolor" >
是否保存到发件箱:</td>
<td>
<asp:CheckBox ID="checksave" runat="server" ForeColor="#C04000" Text="保存到发件箱" /></td>
</tr>
<tr>
<td colspan="2" align="center" style="height: 26px">
<asp:Button ID="btnsend" runat="server" Text="发送信息" OnClick="btnsend_Click" />
<asp:Button ID="btncancel" runat="server" Text="取消" OnClick="btncancel_Click" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -