Article.aspx
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:5k
源码类别:

软件测试

开发平台:

Java

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Article.aspx.cs" Inherits="admin_Article" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.     <HEAD>
  5. <TITLE>Article</TITLE>
  6. <meta name="vs_showGrid" content="False">
  7. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <LINK href="Admin_Style.css" type="text/css" rel="stylesheet">
  12. <style type="text/css">.style1 { COLOR: #ff6600 }
  13. .WrapCss
  14. {
  15. WIDTH: 300px; WORD-WRAP: break-word;
  16. }
  17. </style>
  18. </HEAD>
  19. <body>
  20. <form id="Form1" method="post" runat="server">
  21. <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
  22. <tr>
  23. <td colspan="2" align="left" class="title">
  24. </td>
  25. </tr>
  26. <tr valign="middle" class="tdbg">
  27. <td height="22">您现在的位置:&nbsp;<a href=''>文章管理</a></td>
  28. <td width="200" height="22" align="right"><FONT face="宋体"></FONT>
  29. </td>
  30. </tr>
  31. </table>
  32.             <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">
  33.                 <Columns>
  34.                     <asp:BoundField DataField="id" HeaderText="编号" />
  35.                     <asp:BoundField DataField="title" HeaderText="标题" />
  36.                     <asp:BoundField DataField="notetime" HeaderText="发表时间" />
  37.                     <asp:ButtonField CommandName="Update" HeaderText="修改" Text="修改" />
  38.                     <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="Article_Show.aspx?id={0}"
  39.                         HeaderText="详细信息" Text="详细信息" />
  40.                     <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
  41.                 </Columns>
  42.                 <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
  43.                 <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
  44.                 <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
  45.                 <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
  46.             </asp:GridView>
  47. <table class="border" cellSpacing="1" cellPadding="0" width="100%" border="0">
  48. <tr class="tdbg">
  49. <td width="250" style="height: 30px">
  50.                        共
  51. <asp:Label id="Label1" runat="server" ForeColor="Blue" Font-Bold="True">0</asp:Label>&nbsp;篇文章&nbsp;&nbsp;&nbsp;&nbsp;
  52. &nbsp;页次:
  53. <asp:Label id="Label2" runat="server" ForeColor="Red" Font-Bold="True">0</asp:Label>
  54. <strong>/
  55. <asp:Label id="Label3" runat="server" Font-Bold="True">0</asp:Label></strong>页 
  56. &nbsp;&nbsp;
  57. </td>
  58. <td style="height: 30px">
  59.                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  60.                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  61.                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  62.                        <asp:HyperLink
  63.                         ID="HyperLinkAddTopic" runat="server" NavigateUrl="Article_Add.aspx">发表文章</asp:HyperLink>
  64. </td>
  65. </tr>
  66. </table>
  67. <table class="border" border="0" cellspacing="1" width="100%" cellpadding="0">
  68. <tr valign="middle" class="tdbg">
  69. <td height="30">
  70. </td>
  71. </tr>
  72. </table>
  73. <table width="100%" border="0" cellpadding="0" cellspacing="1" class="border">
  74. <tr class="tdbg">
  75. <td width="94" align="right" style="WIDTH: 94px"><strong>文章搜索:</strong></td>
  76. <td>
  77. <table border='0' cellpadding='0' cellspacing='0'>
  78. <tr>
  79. <td height='28' align='center'>
  80. <asp:DropDownList id="ddl_SearchField" runat="server" Width="75px" Height="20px">
  81. <asp:ListItem Value="Title" Selected="True">文章标题</asp:ListItem>
  82. <asp:ListItem Value="Content">文章内容</asp:ListItem>
  83. <asp:ListItem Value="Author">文章作者</asp:ListItem>
  84. <asp:ListItem Value="Editor">编辑姓名</asp:ListItem>
  85. </asp:DropDownList>
  86. <asp:DropDownList id="ddl_SearchClassID" runat="server" Width="152px" Height="20px" DataValueField="ClassID"
  87. DataTextField="ClassName"></asp:DropDownList>&nbsp; 
  88. <input type='text' name='txb_SearchKeyWord' size='20' value='关键字' maxlength='50' 
  89. id="txb_SearchKeyWord" runat="server">&nbsp;<input type='button' name='Submit' value='搜&nbsp;&nbsp;索' style='CURSOR: hand;BACKGROUND-COLOR: #cccccc'>
  90. </td>
  91. </tr>
  92. </table>
  93. </td>
  94. </tr>
  95. </table>
  96. <BR>
  97. </form>
  98. </body>
  99. </HTML>