📄 oldmessage.aspx
字号:
<%@ Page language="c#" Codebehind="OldMessage.aspx.cs" AutoEventWireup="false" Inherits="MessageMis.Frame.Right.OldMessage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>OldMessage</title>
<meta content="Microsoft Visual Studio .NET 7.1" 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">
</HEAD>
<body MS_POSITIONING="GridLayout">
<script language="javascript">
function show(object){
table=object.parentElement.parentElement.parentElement;
if(object.alt=="0"){
table.rows(1).style.display="block";
table.rows(2).style.display="block";
object.alt="1";
object.src="../images/minus.gif";
}else{
table.rows(1).style.display="none";
table.rows(2).style.display="none";
object.alt="0";
object.src="../images/plus.gif";
}
}
function isSelectAll(e)
{
var chk=document.getElementsByTagName("Input");
for(var i=0;i<chk.length;i++)
{
var chkname=chk[i].name;
//if(chkname="checkAll")
//{
chk[i].checked=e.checked;
//}
}
}
</script>
<form id="Form1" method="post" runat="server">
<table style="WIDTH: 376px; HEIGHT: 216px">
<tr>
<td style="WIDTH: 303px">已收到信息</td>
<td><FONT face="宋体">
<asp:LinkButton id="LinkButton1" runat="server">删除</asp:LinkButton></FONT></td>
</tr>
<tr>
<td colspan="2"><asp:datagrid id="dgOldMessage" runat="server" Font-Size="X-Small" AutoGenerateColumns="False"
BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Horizontal">
<SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
<AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
<ItemStyle ForeColor="#4A3C8C" BackColor="#E7E7FF"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#4A3C8C"></HeaderStyle>
<FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
<Columns>
<asp:TemplateColumn>
<HeaderTemplate>
<TABLE style="FONT-SIZE: x-small" width="350">
<TR>
<TD width="7%"></TD>
<TD width="15%"><INPUT id="CheckAll" onclick="isSelectAll(this)" type="checkbox" runat="server"></TD>
<TD width="15%">状态</TD>
<TD width="30%">发送时间</TD>
<TD width="33%">摘要</TD>
</TR>
</TABLE>
</HeaderTemplate>
<ItemTemplate>
<TABLE style="FONT-SIZE: x-small; WIDTH: 350px">
<TR>
<TD style="WIDTH: 1px; HEIGHT: 37px"><IMG style="WIDTH: 21px; HEIGHT: 20px" onclick="show(this)" height="20" alt="0" src="../../images/plus.gif"
runat="server"></TD>
<TD style="HEIGHT: 37px" width="15%"><INPUT id="CheckOne" type="checkbox" runat="server"></TD>
<TD style="HEIGHT: 37px" width="15%"><%#DataBinder.Eval(Container.DataItem,"Status")%></TD>
<TD style="HEIGHT: 37px" width="30%"><%#DataBinder.Eval(Container.DataItem,"SendTime")%></TD>
<TD style="HEIGHT: 37px" width="33%"><%#DataBinder.Eval(Container.DataItem,"Message")%></TD>
</TR>
<TR style="DISPLAY: none">
<TD style="WIDTH: 1px; HEIGHT: 42px"> </TD>
<TD style="HEIGHT: 42px" colSpan="5">
<asp:TextBox id=TextBox1 runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"Message")%>' Width="250" TextMode="MultiLine">
</asp:TextBox></TD>
</TR>
<TR style="DISPLAY: none">
<TD style="WIDTH: 1px"> </TD>
<TD colSpan="5">
<asp:DataGrid id="dgMessageDetail" runat="server" AutoGenerateColumns="False" Font-Size="X-Small"
Width="325px">
<Columns>
<asp:BoundColumn DataField="UserName" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="Mobile" HeaderText="手机"></asp:BoundColumn>
</Columns>
</asp:DataGrid>
<asp:Label id=Label1 runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"OutBoxId")%>' Width="29px" Visible="False">
</asp:Label></TD>
</TR>
</TABLE>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn Visible="False" DataField="OutBoxId"></asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid></td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -