rizhijilu.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:3k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="rizhijilu.aspx.cs" Inherits="qs_rizhi_Default" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>日志管理</title>
  6.     <style type="text/css">
  7. <!--
  8. .style1 {color: #FFFFFF}
  9. -->
  10. </style>
  11. <link href="../css/link.css" rel="stylesheet" type="text/css" />
  12. <style type="text/css">
  13. <!--
  14. .style2 {font-size: 12px}
  15. .style3 {
  16. font-size: 14px;
  17. font-weight: bold;
  18. }
  19. .style36 {font-size: 13px}
  20. .style37 {color: #FF0000}
  21. .style38 {color: #999999}
  22. body {
  23. margin-top: 0px;
  24. }
  25. -->
  26. </style>
  27. </head>
  28. <body>
  29.     <form id="form1" runat="server">
  30.    
  31.     <div align="center" style="width: 802px; height: 38px" >
  32.         &nbsp;
  33.         <br />
  34.         <br />
  35.     
  36.     
  37.       <table width="100%" border="0" cellpadding="0" cellspacing="0">
  38.         <tr>
  39.           
  40.           <td bgcolor="#5AAE18" style="width: 801px"><div align="center"><span class="style1"><span class="style1 style3 style36">日 志 管 理</span></span></div></td>
  41.          
  42.         </tr>
  43.       </table>
  44.     </div>
  45.     <div align="center"  style="width: 754px; height: 38px" > 
  46.     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Height="94px" Width="803px" PageSize="3" OnRowDataBound="GridView1_RowDataBound" BorderColor="PaleGreen" Font-Size="Larger">
  47.             <Columns>
  48.                 <asp:HyperLinkField DataNavigateUrlFields="w_id" DataNavigateUrlFormatString="rizhineirong.aspx?w_id={0}"
  49.                     DataTextField="w_title" HeaderText="标题" />
  50.                 <asp:BoundField DataField="u_username" HeaderText="发送人" />
  51.                 <asp:HyperLinkField DataNavigateUrlFields="w_id" DataNavigateUrlFormatString="jiluxiu.aspx?w_id={0}"
  52.                     HeaderText="修改" Text="修改" />
  53.                 <asp:HyperLinkField DataNavigateUrlFields="w_id" DataNavigateUrlFormatString="rizhishanchu.aspx?w_id={0}"
  54.                     HeaderText="删除" Text="删除" />
  55.                 <asp:BoundField DataField="w_clicks" HeaderText="点击" />
  56.                 <asp:BoundField DataField="w_sendtime" HeaderText="发送时间" />
  57.             </Columns>
  58.         </asp:GridView>
  59.     </div>
  60.     <div align="center">
  61.        <br/>
  62.        <%System.Collections.Generic.IList<COM.OA.Entity.worklogjl> lists = COM.OA.BLL.BLLGeneric.Select<COM.OA.Entity.worklogjl>(System.Data.CommandType.StoredProcedure, "rizhiJiLu");
  63.            System.Collections.Generic.List<COM.OA.Entity.worklogjl> list = (System.Collections.Generic.List<COM.OA.Entity.worklogjl>)lists;
  64.            
  65.             %>
  66.   总共 <%=list.Count%> 记录<br/>
  67.   <br/>
  68.   </div>
  69.    
  70.     </form>
  71. </body>
  72. </html>