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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MeetingRoomManager.aspx.cs" Inherits="General_MeetingRoomManager" %>
  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="MC" HeaderText="名称" >
  30.                             <ItemStyle HorizontalAlign="Center" />
  31.                         </asp:BoundField>        
  32.                         <asp:BoundField DataField="KRNS" HeaderText="可容纳人数" >
  33.                             <ItemStyle HorizontalAlign="Center" />
  34.                         </asp:BoundField>
  35.                         <asp:BoundField DataField="SBQK" HeaderText="设备情况" >
  36.                             <ItemStyle HorizontalAlign="Center" />
  37.                         </asp:BoundField>
  38.                         <asp:BoundField DataField="DD" HeaderText="所在地点" >
  39.                             <ItemStyle HorizontalAlign="Center" />
  40.                         </asp:BoundField>
  41.                         <asp:BoundField DataField="HYSMS" HeaderText="会议室描述" >
  42.                             <ItemStyle HorizontalAlign="Center" />
  43.                         </asp:BoundField>
  44.                         <asp:TemplateField HeaderText="操作">
  45.                             <HeaderStyle  />
  46.                             <ItemTemplate>
  47.                                 <%#CaoZuo()%>
  48.                             </ItemTemplate>                         
  49.                             <ItemStyle HorizontalAlign="Center" />
  50.                         </asp:TemplateField>
  51.                     </Columns>
  52.                     <RowStyle CssClass="usertablerow2" />
  53.                     <AlternatingRowStyle CssClass="usertablerow1" />
  54.                 </asp:GridView>
  55.             </td>
  56.         </tr>
  57.         <tr>
  58.             <td align="left" class="usertablerow1" colspan="2">&nbsp;
  59.                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging"></webdiyer:AspNetPager>        
  60.                 <asp:CheckBox ID="CheckBox1" runat="server" Text="全选" OnCheckedChanged="CheckBox1_CheckedChanged" AutoPostBack="True" />&nbsp;
  61.                 <asp:Button ID="DelButton1" runat="server" Text="删除" OnClientClick="javascript:return confirm('确定要删除吗?')" OnClick="DelButton1_Click" />  &nbsp;  &nbsp;  
  62.                 <input type="Button"  Class="ptsbutton" value="添加会议室" OnClick="window.location='MeetingRoomAdd.aspx'" /> &nbsp;  &nbsp;     
  63.                 <input type="Button"  Class="ptsbutton" value="打印" OnClick="window.print()" />
  64.             </td>        
  65.         </tr>
  66.   
  67.     </table>
  68.     <br>
  69.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  70.         border="0">
  71.         <tr>
  72.             <th colspan="2">
  73.                 使用方法</th>
  74.         </tr>
  75.         <tr>
  76.             <td class="usertablerow1" align="right" width="11%">
  77.                 <strong>特殊说明</strong></td>
  78.             <td class="usertablerow1" width="89%">
  79.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  80.         </tr>
  81.     </table>
  82.     </form>
  83.     
  84. </body>
  85. </html>