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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckInTable.aspx.cs" Inherits="Articles_CheckInTable" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  6. </head>
  7.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  8. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  9. <form runat="server" id="fm1">
  10.     <br>
  11.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
  12.         <tr>
  13.             <th colspan="3" style="height: 25px">
  14.                 登记报表信息</th>
  15.         </tr>
  16.         <tr>
  17.             <td class="usertablerow2" align="center" style="height: 32px;" colspan="2">
  18.                 <asp:GridView ID="GridView1" CssClass="usertableborder" runat="server" AutoGenerateColumns="False" PageSize="20" OnRowDataBound="GridView1_RowDataBound" Width="100%">
  19.                     <Columns>
  20.                         <asp:BoundField DataField="ID" HeaderText="ID" >
  21.                             <ItemStyle HorizontalAlign="Center" />
  22.                         </asp:BoundField>
  23.                         <asp:BoundField DataField="WP" HeaderText="物品名称" >
  24.                             <ItemStyle HorizontalAlign="Center" />
  25.                         </asp:BoundField>
  26.                         <asp:TemplateField HeaderText="登记类型">
  27.                             <ItemTemplate>
  28.                                 <%#YPLB()%>
  29.                             </ItemTemplate>                         
  30.                             <ItemStyle HorizontalAlign="Center" />
  31.                         </asp:TemplateField>
  32.            
  33.                         <asp:BoundField DataField="DJ" HeaderText="单价" >
  34.                             <ItemStyle HorizontalAlign="Center" />
  35.                         </asp:BoundField>
  36.                         <asp:BoundField DataField="SL" HeaderText="数量" >
  37.                             <ItemStyle HorizontalAlign="Center" />
  38.                         </asp:BoundField>
  39.                         <asp:BoundField DataField="DJR" HeaderText="登记人" >
  40.                             <ItemStyle HorizontalAlign="Center" />
  41.                         </asp:BoundField>
  42.                         <asp:BoundField DataField="BZ" HeaderText="备注" >
  43.                             <ItemStyle HorizontalAlign="Center" />
  44.                         </asp:BoundField>
  45.                     </Columns>
  46.                     <RowStyle CssClass="usertablerow2" />
  47.                     <AlternatingRowStyle CssClass="usertablerow1" />
  48.                 </asp:GridView>
  49.             </td>
  50.         </tr>
  51.         <tr>
  52.             <td align="center" class="usertablerow1" colspan="2">&nbsp;
  53.                 <input type="Button"  Class="ptsbutton" value="打印" onclick="window.print()" />
  54.             </td> 
  55.         </tr>
  56.  
  57.     </table>
  58.     <br>
  59.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  60.         border="0">
  61.         <tr>
  62.             <th colspan="2">
  63.                 使用方法</th>
  64.         </tr>
  65.         <tr>
  66.             <td class="usertablerow1" align="right" width="11%">
  67.                 <strong>特殊说明</strong></td>
  68.             <td class="usertablerow1" width="89%">
  69.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  70.         </tr>
  71.     </table>
  72.     </form>
  73.     
  74. </body>
  75. </html>