📄 unreadmessage.aspx
字号:
<%@ Page language="c#" Codebehind="UnReadMessage.aspx.cs" AutoEventWireup="false" Inherits="MessageMis.Frame.Right.UnReadMessage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>UnReadMessage</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";
object.alt="1";
object.src="http://localhost/MessageMis/images/minus.gif";
}else{
table.rows(1).style.display="none";
object.alt="0";
object.src="http://localhost/MessageMis/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">
<FONT face="宋体">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 0px; WIDTH: 372px; POSITION: absolute; TOP: 8px; HEIGHT: 288px">
<TBODY>
<TR>
<TD>未读信息</TD>
<TD><asp:linkbutton id="LinkButton1" runat="server">删除</asp:linkbutton></TD>
</TR>
<TR>
<TD colSpan="2"><asp:datagrid id="dgInboxMessage" runat="server" AutoGenerateColumns="False" Font-Size="X-Small"
Width="368px" 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: 347px; HEIGHT: 26px">
<TR>
<TD width="7%"></TD>
<TD width="20%"><INPUT id="CheckAll" onclick="isSelectAll(this)" type="checkbox" runat="server"></TD>
<TD width="20%">发件人</TD>
<TD width="30%">接收时间</TD>
<TD width="23%">摘要</TD>
</TR>
</TABLE>
</HeaderTemplate>
<ItemTemplate>
<TABLE style="FONT-SIZE: x-small">
<TR>
<TD style="WIDTH: 29px; HEIGHT: 37px">
<asp:ImageButton id="imgbtntag" runat="server" ImageUrl="../../images/plus.gif" Width="19px" Height="20px"></asp:ImageButton> </TD>
<TD style="HEIGHT: 37px" width="20%"><INPUT id="CheckOne" type="checkbox" runat="server"></TD>
<TD style="HEIGHT: 37px" width="20%"><%#DataBinder.Eval(Container.DataItem,"SendUserId")%></TD>
<TD style="HEIGHT: 37px" width="30%"><%#DataBinder.Eval(Container.DataItem,"ReceiveTime")%></TD>
<TD style="HEIGHT: 37px" width="23%"><%#DataBinder.Eval(Container.DataItem,"Message")%></TD>
</TR>
<TR>
<TD style="HEIGHT: 1px"> </TD>
<TD style="HEIGHT: 1px" colSpan="5">
<asp:Label id=Label1 runat="server" Visible="False" text='<%#DataBinder.Eval(Container.DataItem,"InBoxId")%>'>
</asp:Label></TD>
</TR>
</TABLE>
<asp:Table id="Table2" runat="server" Width="347px" Visible="False">
<asp:TableRow>
<asp:TableCell> </asp:TableCell>
<asp:TableCell>
<asp:TextBox id="Textbox1" runat="server" Width="250" Visible="true" TextMode="MultiLine" Text='<%#DataBinder.Eval(Container.DataItem,"Message")%>'>
</asp:TextBox>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid></TD>
</TR>
</TBODY>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -