EntertainManager.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EntertainManager.aspx.cs" Inherits="Entertain_EntertainManager" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
  13.         <tr>
  14.             <th colspan="3" style="height: 25px">
  15.                 接待管理</th>
  16.         </tr>
  17.         <tr>
  18.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  19.                 <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  20.                     <Columns>
  21.                         <asp:TemplateField>
  22.                             <ItemTemplate>
  23.                                 <asp:CheckBox ID="CheckBoxItem" runat="server" />
  24.                             </ItemTemplate>
  25.                         </asp:TemplateField>
  26.                         <asp:BoundField DataField="ID" HeaderText="ID" >
  27.                             <ItemStyle HorizontalAlign="Center" />
  28.                         </asp:BoundField>
  29.                         <asp:BoundField DataField="BJDZXM" HeaderText="被接待者姓名" >
  30.                             <ItemStyle HorizontalAlign="Center" />
  31.                         </asp:BoundField> 
  32.                                
  33.                         <asp:TemplateField HeaderText="接待类别">
  34.                             <HeaderStyle />
  35.                             <ItemTemplate>
  36.                                 <%#JDLB()%>
  37.                             </ItemTemplate>                         
  38.                             <ItemStyle HorizontalAlign="Center" />
  39.                         </asp:TemplateField>
  40.                         
  41.                         <asp:TemplateField HeaderText="详细类别">
  42.                             <ItemTemplate>
  43.                                 <%#XXLB()%>
  44.                             </ItemTemplate>                         
  45.                             <ItemStyle HorizontalAlign="Center" />
  46.                         </asp:TemplateField>
  47.                         
  48.                         <asp:BoundField DataField="FSRQ" HeaderText="发生时间" >
  49.                             <ItemStyle HorizontalAlign="Center" />
  50.                         </asp:BoundField>
  51.                         <asp:TemplateField HeaderText="接待人员">
  52.                             <ItemTemplate>
  53.                                 <%#YPLB()%>
  54.                             </ItemTemplate>                         
  55.                             <ItemStyle HorizontalAlign="Center" />
  56.                         </asp:TemplateField>
  57.                         <asp:BoundField DataField="BZ" HeaderText="备注" >
  58.                             <ItemStyle HorizontalAlign="Center" />
  59.                         </asp:BoundField>
  60.                         <asp:TemplateField HeaderText="操作">
  61.                             <HeaderStyle />
  62.                             <ItemTemplate>
  63.                                 <%#CaoZuo()%>
  64.                             </ItemTemplate>                         
  65.                             <ItemStyle HorizontalAlign="Center" />
  66.                         </asp:TemplateField>
  67.                     </Columns>
  68.                     <RowStyle CssClass="usertablerow2" />
  69.                     <AlternatingRowStyle CssClass="usertablerow1" />
  70.                 </asp:GridView>
  71.             </td>
  72.         </tr>
  73.         <tr>
  74.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  75.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>        
  76.                 <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />&nbsp;
  77.                 <asp:Button ID="DelButton1" runat="server" Text="删除并销毁文件" OnClientClick="javascript:return confirm('确定要删除吗?')" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;  
  78.                 <input type="Button"  Class="ptsbutton" value="添加接待" OnClick="window.location='EntertainAdd.aspx'" /> &nbsp;  &nbsp;    
  79.                 <input type="Button"  Class="ptsbutton" value="查询" OnClick="window.location='SearchEntertain.aspx'" /> &nbsp;  &nbsp;  
  80.                 <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  81.             </td>        
  82.         </tr>
  83.   
  84.     </table>
  85.     <br>
  86.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  87.         border="0">
  88.         <tr>
  89.             <th colspan="2">
  90.                 使用方法</th>
  91.         </tr>
  92.         <tr>
  93.             <td class="usertablerow1" align="right" width="11%">
  94.                 <strong>特殊说明</strong></td>
  95.             <td class="usertablerow1" width="89%">
  96.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  97.         </tr>
  98.     </table>
  99.     </form>
  100.     
  101. </body>
  102. </html>