placard.aspx
来自「基于Asp.net、MS sql sever 2000、C# 论坛系统源码」· ASPX 代码 · 共 99 行
ASPX
99 行
<%@ Register TagPrefix="uc1" TagName="PlacardBox" Src="../Controls/PlacardBox.ascx" %>
<%@ Page language="c#" Codebehind="placard.aspx.cs" AutoEventWireup="false" Inherits="Stella.Web.admin.placard" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>placard</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="../style/admin.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table cellSpacing="0" cellPadding="0" width="800" border="0">
<!--DWLayoutTable-->
<tr>
<td vAlign="top" width="800" height="70">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<!--DWLayoutTable-->
<tr>
<td vAlign="top" colSpan="2" height="54"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td vAlign="top" width="253" bgColor="#000000" height="16"><span class="adminbodyf">::
通告管理 :: </span>
</td>
<td class="adminbodyf" align="right" width="547" bgColor="#000000">
<script language="vbscript">document.write now()</script>
||| </td>
</tr>
</table>
</td>
</tr>
<tr>
<td vAlign="top" height="530">
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<!--DWLayoutTable-->
<tr>
<td width="800" height="20"> </td>
</tr>
<tr>
<td class="rrrerrr" vAlign="top" height="248" style="HEIGHT: 248px"><!--DWLayoutEmptyCell-->
<asp:datagrid id="cards" runat="server" BorderColor="#E7E7FF" BorderWidth="1px" BackColor="White"
CellPadding="3" CssClass="adminbody0" AutoGenerateColumns="False" GridLines="Horizontal" BorderStyle="None">
<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:BoundColumn DataField="pid" HeaderText="编号"></asp:BoundColumn>
<asp:BoundColumn DataField="topic" HeaderText="标题"></asp:BoundColumn>
<asp:BoundColumn DataField="addedadminer" HeaderText="添加人"></asp:BoundColumn>
<asp:BoundColumn DataField="addeddate" HeaderText="添加日期"></asp:BoundColumn>
<asp:HyperLinkColumn Text="详细查看" Target="_blank" DataNavigateUrlField="pid" DataNavigateUrlFormatString="../pages/placard.aspx?pid={0}"></asp:HyperLinkColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:LinkButton runat="server" Text="编辑" CommandName="update" CausesValidation="false"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:LinkButton runat="server" Text="删除" CommandName="Delete" CausesValidation="false" ID="del"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Right" ForeColor="#4A3C8C" BackColor="#E7E7FF" Mode="NumericPages"></PagerStyle>
</asp:datagrid>
<P><FONT face="宋体"></FONT> </P>
<P><FONT face="宋体">
<asp:Button id="Button1" runat="server" CssClass="adminbodyf" BackColor="Black" Text="添加新通告"
Width="112px" BorderStyle="None" EnableViewState="False"></asp:Button></FONT></P>
</td>
</tr>
</table>
<P>
<uc1:PlacardBox id="box" runat="server" Visible="False"></uc1:PlacardBox><FONT face="宋体"><BR>
</FONT><FONT face="宋体">
<BR>
</FONT><FONT face="宋体">
<asp:Button id="Button2" runat="server" CssClass="adminbodyf" BackColor="Black" Text="确认添加"
Width="112px" BorderStyle="None" Visible="False" EnableViewState="False"></asp:Button><BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
<P><FONT face="宋体"> </P>
</FONT>
</td>
</tr>
</table>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?