HaoCai1InfoList.aspx 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HaoCai1InfoList.aspx.cs" Inherits="CB.Admin.Plugins.OpenCode.HaoCai1InfoList" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE html>
  4. <html>
  5. <head id="Head1" runat="server">
  6. <title>好彩1列表</title>
  7. <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
  8. <script src="../../static/js/jquery.js" type="text/javascript"></script>
  9. </head>
  10. <body>
  11. <form id="form1" runat="server">
  12. <div class="box">
  13. <div class="title">
  14. <span>好彩1列表</span><a href="HaoCai1InfoEdit.aspx?authPage=<%=authPage %>&Action=Add">添加开奖信息</a>
  15. </div>
  16. <div class="content">
  17. <div class="bar">
  18. 期号:<asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
  19. &nbsp;&nbsp;
  20. <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click"></asp:Button>
  21. &nbsp;&nbsp;
  22. <asp:Button ID="btnRemoveCache" runat="server" Text="清除缓存" OnClick="btnRemoveCache_Click"></asp:Button>
  23. </div>
  24. <div class="listtable">
  25. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  26. <tr>
  27. <th>
  28. 期 号
  29. </th>
  30. <th>
  31. 开奖号
  32. </th>
  33. <th>
  34. 开奖时间
  35. </th>
  36. <th>
  37. 操 作
  38. </th>
  39. </tr>
  40. <asp:Repeater ID="repeaterList" runat="server" OnItemCommand="repeaterList_ItemCommand">
  41. <ItemTemplate>
  42. <tr>
  43. <td>
  44. <%#DataBinder.Eval(Container.DataItem, "Term")%>
  45. </td>
  46. <td>
  47. <%#DataBinder.Eval(Container.DataItem, "OpenCode1")%>
  48. </td>
  49. <td>
  50. <%#DataBinder.Eval(Container.DataItem, "OpenTime")%>
  51. </td>
  52. <td>
  53. <a href="HaoCai1InfoEdit.aspx?authPage=<%=authPage %>&Id=<%#DataBinder.Eval(Container.DataItem, "Id")%>&Action=Modify">
  54. 编辑</a>&nbsp;&nbsp;
  55. <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"Id")%>'
  56. CommandName="dndel" Text="&lt;span onclick=&quot;javascript:return confirm('此操作不可恢复,确认要删除这条信息?')&quot;&gt;删除&lt;/span&gt;"></asp:LinkButton>
  57. </td>
  58. </tr>
  59. </ItemTemplate>
  60. </asp:Repeater>
  61. <tr>
  62. <td colspan="6 ">
  63. <div class="pager">
  64. <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CurrentPageButtonPosition="Center"
  65. CustomInfoHTML="第%CurrentPageIndex%页,共%PageCount%页,每页%PageSize%条,共%RecordCount%条"
  66. ShowCustomInfoSection="Right" UrlPageIndexName="p" FirstPageText="第一页" LastPageText="最后一页"
  67. NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged" PageSize="20" PagingButtonSpacing="14px"
  68. PrevPageText="上一页" ShowPageIndexBox="Never" AlwaysShow="true">
  69. </webdiyer:AspNetPager>
  70. </div>
  71. </td>
  72. </tr>
  73. </table>
  74. </div>
  75. </div>
  76. </div>
  77. </form>
  78. </body>
  79. </html>