Article.aspx
资源名称:moban.rar [点击查看]
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:5k
源码类别:
软件测试
开发平台:
Java
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Article.aspx.cs" Inherits="admin_Article" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <HTML>
- <HEAD>
- <TITLE>Article</TITLE>
- <meta name="vs_showGrid" content="False">
- <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">
- <LINK href="Admin_Style.css" type="text/css" rel="stylesheet">
- <style type="text/css">.style1 { COLOR: #ff6600 }
- .WrapCss
- {
- WIDTH: 300px; WORD-WRAP: break-word;
- }
- </style>
- </HEAD>
- <body>
- <form id="Form1" method="post" runat="server">
- <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
- <tr>
- <td colspan="2" align="left" class="title">
- </td>
- </tr>
- <tr valign="middle" class="tdbg">
- <td height="22">您现在的位置: <a href=''>文章管理</a></td>
- <td width="200" height="22" align="right"><FONT face="宋体"></FONT>
- </td>
- </tr>
- </table>
- <asp:GridView ID="ArtGV" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" Font-Size="X-Small" ForeColor="Black" GridLines="Horizontal" PageSize="5" Width="100%" AllowPaging="True" OnPageIndexChanging="ArtGV_PageIndexChanging" OnRowCommand="ArtGV_RowCommand" OnRowDeleting="ArtGV_RowDeleting">
- <Columns>
- <asp:BoundField DataField="id" HeaderText="编号" />
- <asp:BoundField DataField="title" HeaderText="标题" />
- <asp:BoundField DataField="notetime" HeaderText="发表时间" />
- <asp:ButtonField CommandName="Update" HeaderText="修改" Text="修改" />
- <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Article_Show.aspx?id={0}"
- HeaderText="详细信息" Text="详细信息" />
- <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
- </Columns>
- <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
- <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
- <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
- </asp:GridView>
- <table class="border" cellSpacing="1" cellPadding="0" width="100%" border="0">
- <tr class="tdbg">
- <td width="250" style="height: 30px">
- 共
- <asp:Label id="Label1" runat="server" ForeColor="Blue" Font-Bold="True">0</asp:Label> 篇文章
- 页次:
- <asp:Label id="Label2" runat="server" ForeColor="Red" Font-Bold="True">0</asp:Label>
- <strong>/
- <asp:Label id="Label3" runat="server" Font-Bold="True">0</asp:Label></strong>页
-
- </td>
- <td style="height: 30px">
-
-
-
- <asp:HyperLink
- ID="HyperLinkAddTopic" runat="server" NavigateUrl="Article_Add.aspx">发表文章</asp:HyperLink>
- </td>
- </tr>
- </table>
- <table class="border" border="0" cellspacing="1" width="100%" cellpadding="0">
- <tr valign="middle" class="tdbg">
- <td height="30">
- </td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="0" cellspacing="1" class="border">
- <tr class="tdbg">
- <td width="94" align="right" style="WIDTH: 94px"><strong>文章搜索:</strong></td>
- <td>
- <table border='0' cellpadding='0' cellspacing='0'>
- <tr>
- <td height='28' align='center'>
- <asp:DropDownList id="ddl_SearchField" runat="server" Width="75px" Height="20px">
- <asp:ListItem Value="Title" Selected="True">文章标题</asp:ListItem>
- <asp:ListItem Value="Content">文章内容</asp:ListItem>
- <asp:ListItem Value="Author">文章作者</asp:ListItem>
- <asp:ListItem Value="Editor">编辑姓名</asp:ListItem>
- </asp:DropDownList>
- <asp:DropDownList id="ddl_SearchClassID" runat="server" Width="152px" Height="20px" DataValueField="ClassID"
- DataTextField="ClassName"></asp:DropDownList>
- <input type='text' name='txb_SearchKeyWord' size='20' value='关键字' maxlength='50'
- id="txb_SearchKeyWord" runat="server"> <input type='button' name='Submit' value='搜 索' style='CURSOR: hand;BACKGROUND-COLOR: #cccccc'>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <BR>
- </form>
- </body>
- </HTML>