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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MealsManager.aspx.cs" Inherits="Meals_MealsManager" %>
  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="YCLBMC" HeaderText="用餐类别名" >
  30.                             <ItemStyle HorizontalAlign="Center" />
  31.                         </asp:BoundField>        
  32.                         <asp:BoundField DataField="CM" HeaderText="用餐菜名" >
  33.                             <ItemStyle HorizontalAlign="Center" />
  34.                         </asp:BoundField>
  35.                         <asp:BoundField DataField="YCDW" HeaderText="用餐单位" >
  36.                             <ItemStyle HorizontalAlign="Center" />
  37.                         </asp:BoundField>
  38.                         <asp:BoundField DataField="JG" HeaderText="价格" >
  39.                             <ItemStyle HorizontalAlign="Center" />
  40.                         </asp:BoundField>
  41.                         <asp:BoundField DataField="YCDWDH" HeaderText="用餐单位电话" >
  42.                             <ItemStyle HorizontalAlign="Center" />
  43.                         </asp:BoundField>
  44.                         <asp:TemplateField HeaderText="接待人员">
  45.                             <ItemTemplate>
  46.                                 <%#YPLB()%>
  47.                             </ItemTemplate>                         
  48.                             <ItemStyle HorizontalAlign="Center" />
  49.                         </asp:TemplateField>
  50.                         <asp:BoundField DataField="BZ" HeaderText="备注" >
  51.                             <ItemStyle HorizontalAlign="Center" />
  52.                         </asp:BoundField>
  53.                         <asp:TemplateField HeaderText="操作">
  54.                             <HeaderStyle  />
  55.                             <ItemTemplate>
  56.                                 <%#CaoZuo()%>
  57.                             </ItemTemplate>                         
  58.                             <ItemStyle HorizontalAlign="Center" />
  59.                         </asp:TemplateField>
  60.                     </Columns>
  61.                     <RowStyle CssClass="usertablerow2" />
  62.                     <AlternatingRowStyle CssClass="usertablerow1" />
  63.                 </asp:GridView>
  64.             </td>
  65.         </tr>
  66.         <tr>
  67.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  68.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>        
  69.                 <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />&nbsp;
  70.                 <asp:Button ID="DelButton1" runat="server" Text="删除并销毁文件" OnClientClick="javascript:return confirm('确定要删除吗?')" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;  
  71.                 <input type="Button"  Class="ptsbutton" value="添加接待" OnClick="window.location='MealsAdd.aspx'" /> &nbsp;  &nbsp;    
  72.                 <input type="Button"  Class="ptsbutton" value="查询" OnClick="window.location='SearchMeals.aspx'" /> &nbsp;  &nbsp;  
  73.                 <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  74.             </td>        
  75.         </tr>
  76.   
  77.     </table>
  78.     
  79.     <br>
  80.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  81.         border="0">
  82.         <tr>
  83.             <th colspan="2">
  84.                 使用方法</th>
  85.         </tr>
  86.         <tr>
  87.             <td class="usertablerow1" align="right" width="11%">
  88.                 <strong>特殊说明</strong></td>
  89.             <td class="usertablerow1" width="89%">
  90.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  91.         </tr>
  92.     </table>
  93.     </form>
  94.     
  95. </body>
  96. </html>